MAINFRAME - TIP OF THE DAY :
When you use COUNT operator to set a return code
of 12 or 4 if a specified data set is EMPTY, NOTEMPTY, HIGHER(n), LOWER(n), EQUAL(n) or NOTEQUAL(n). where n is a specified number of records. If you use the RC4 operand, SORT sets RC=4; otherwise it sets RC=12.
COUNT FROM(IN) EMPTY
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
Posted: Thu Dec 08, 2016 7:09 pm Post subject: need help-JCL
I have two requirements to be taken care of:
1. Assume there are multiple jcls. after submitting the jcl1, if the return code is 0 then jcl2 should be automatically triggered and so on.
2. Once jcl1 step is submitted a data set name with the current date(as a part of its qualifier) should be created as the output. the same should happen for the next jcl i.e jcl2 and so on.
I can take care of the first requirement, but being new to mainframe i am facing problems to solve the second one.
Both requirements are related. And i got some info that it might be solved using file-aid but don't know how.
Would really appreciate if someone helps me with this.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Cobol Tutorial This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial This Tutorial covers all important aspects of DFSORT. Has more SORT examples