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...
what kind of date are we talking in here? Is it a current date? If it is current date then it is very easy
If it is any other date , then it would be tricky.
At any rate I need the following details.
1. what is the lrecl and recfm of the input and output files?
2. What is the position and format of the date field _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
yes u r right. if it is the current date then the process is easy. but my case is different, i will get the some date in input file in the yyyyddd format. input file is fb with 80 length. i should add 1 to the date and write a output file with the same length and format.
SyncSort does not currently have the facility to perform arithmetic on date/time fields. I cannot answer for DFSORT. _________________ Alissa Margulies
SyncSort Mainframe Product Services
Joined: 18 Feb 2006 Posts: 812 Location: San Jose, CA
Posted: Tue Sep 29, 2009 3:20 am Post subject:
DFSORT does not have built-in functions for arithmetic on date/time fields either. _________________ 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
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