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 Oct 13, 2016 7:16 pm Post subject: Use JCL to change the out file in a variable circumstance
I would like to know how I could use a variable condition from in file to change the out file. For example:
The header always starts with 00 and trailer always starts with 99. I need to copy the number that is only in header to all registers unit trailer.
Should be perfect to do this just using JCL, but Ive already tried a lot of things unsuccessfully. Maybe there is something I didn't do yet.
Thanks for your help!
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