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...
If you want to do something else, explain clearly what it is you want to do. _________________ Frank Yaeger - DFSORT Development Team (IBM) - firstname.lastname@example.org
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
Posted: Thu Jul 21, 2011 7:12 pm Post subject: concatenate of data sets
to concatenate PS(physical sequential) data sets we can use the ibm utility
and specify the files in this way
//JOB1 JOB .....................
//STEP1 EXEC PGM=IEBGENER
//SYSUT1 DD DSN="FILE1",DISP=SHR,
//SYSUT2 DD DSN="NEWFILE",DISP=(NEW,CATLG,DELETE)
where record length should be file1(rec len)> file2(rec len)> file3(reclen)
the result is stored in output file NEW FILE
we cannot concatenate PDS(partitioned data set) files.as they have members
any query :mail me at email@example.com
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