Page 1 of 1
Test for abend code using SAS code
Posted:
Thu Jul 02, 2009 5:41 pm
by jinxed21
Hi,
Is there a way to release an abend code using SAS, if a file transfer is not successful. Specifically , for a file transfer during an outage period
Re: Test for abend code using SAS code
Posted:
Thu Jul 02, 2009 11:13 pm
by dick scherrer
Hello,
How does one "release an abend code"?
You need to explain in more detail what you are tyring to accomplish and what problem(s) exist.
Re: Test for abend code using SAS code
Posted:
Fri Jul 03, 2009 3:24 pm
by jinxed21
I want to run a job that transfers a file whenever its predecessor completes. But I have been informed by the file transfer team that there is an outage period for 3-4 hours within which I cannot send the files.
I want to know if there is a way to abend the job if it runs during that outage period.
If the job runs successfully during the outage but the files not transferred, will there still be a way to abend the job using SAS/COBOL or via JCL itself?
Re: Test for abend code using SAS code
Posted:
Sat Jul 04, 2009 7:28 am
by dick scherrer
Hello,
So, this may not be a SAS issue? How is the file transferred?
You might talk with your scheduling and ask if your system supports not only naming this as having a predecessor, but that it must not run in a certain time window.
Re: Test for abend code using SAS code
Posted:
Mon Jul 06, 2009 10:21 am
by jinxed21
MFT file transfer..
Apart from scheduling changes, is there anyway we could abend the job which runs during that time period?(Either using JCL or any abend condition)?
Re: Test for abend code using SAS code
Posted:
Mon Jul 06, 2009 11:45 pm
by dick scherrer
Hello,
You could write code that accepts a parm of the "problem times (start/end)" and if the current system time is in the problem time range, force an abend. It would be better to implement a scheduling solution. . .
Re: Test for abend code using SAS code
Posted:
Wed Jul 22, 2009 6:42 pm
by jinxed21
Thanks for the tip...Will try this.
Re: Test for abend code using SAS code
Posted:
Thu Jul 23, 2009 2:46 am
by dick scherrer
You're welcome - i still suggest a scheduling solution, though. . .
d