MAINFRAME - TIP OF THE DAY :
Command : SORT CHA / SORT CHANGED
If we want to know what are all components modifed recently in a PDS.
Go to PDS, type SORT CHA or SORT CHANGED, all members will be
sorted on modifed date and time.
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
i would invest some time either reading any of the COBOL Application programmers guides,
or even google COBOL tutorials.
a quick google search for 'why use variable length records'
returned About 6,150,000 results (0.07 seconds) _________________ Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
Posted: Wed Oct 05, 2016 10:47 am Post subject: VARIABLE FILE IN COBOL
In transaction files of banks for eg has a header record,detail records,trailer record.So 3 different kind of records of variable length are there.In such cases comes the use of defining file as variable length format.
RECORD VARYING FROM 1 TO 2795 CHARACTERS
RECORDING MODE IS V.
03 FILLER PIC X OCCURS 1 TO 2795 TIMES DEPENDING ON WS-REC-SIZE.
here 2795 is the size of largest record in that file.
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