MQFTE takes time and job abends.

JES2/3, JCL, utilities.
Post Reply
Prem_mainframe
New Member
Posts: 6
Joined: Fri Jan 17, 2014 2:04 pm

MQFTE takes time and job abends.

Post by Prem_mainframe »

Hi,

We've a file which is being transferred using MQFTE to a differnt region. In the other region there is a job which executes every half an hour and see if this file exist, if it does the job executes else it is not. But some times the file istoo huge and it takes time to transfer while by that time the file gets catalogged and job start executing and abends. How can I avoid such a situation, Please help.
zprogrammer
Global Moderator
Global Moderator
Posts: 588
Joined: Wed Nov 20, 2013 11:53 am
Location: Mars

Re: MQFTE takes time and job abends.

Post by zprogrammer »

when you mean abends ?

What is the abend code you get ??

The solution could vary based on the abend code
zprogrammer
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: MQFTE takes time and job abends.

Post by nicc »

Do not execute the job every half hour - execute it when the dataset is received. The scheduler can do this for you.
Regards
Nic
User avatar
Anuj Dhawan
Founder
Posts: 2802
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: MQFTE takes time and job abends.

Post by Anuj Dhawan »

Nic brings up an interesting point - why do you execute the job every half an hour rather than making it a data-set triggered job?
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”