MAINFRAME - TIP OF THE DAY :
When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
Posted: Wed Apr 19, 2006 2:43 pm Post subject: DFsort
i have two files File A, File B.
In File A in position 23,24, if i have a value '55', then in File B in position 30 i have to insert a value "P".
If there is no value in position 23,24 of File A, then a value of "S", is to be inserted in Position 30 of File B.
Can we do this using DFsort???If yes please provide me with exact syntax.
Joined: 18 Feb 2006 Posts: 812 Location: San Jose, CA
Posted: Wed Apr 19, 2006 9:21 pm Post subject:
It's not clear to me exactly what you're trying to do. Please show an example of the records in input FileA and in input FileB and the expected output records, and explain the example. Give the RECFM and LRECL of input FileA and input FileB, and the starting position, length and format of all relevant fields. _________________ Frank Yaeger - DFSORT Development Team (IBM) - email@example.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
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