Can a PS file be read in reverse order?If so,how
Answer Posted / vinay sonar
Yes we can do it using file handling.
syntax is
READ FILE 1 INVERSE AT END PERFORM CLOSE_PARA.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
List the various advantages of using jcl language?
How is the record format of an output dataset specified?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What are the utility programs in jcl?
What is the function of //jcllib statement?
What is condition checking in jcl? Is this possible?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What is the function of the dd avgrec keyword in sms datasets?
What is the function of dd name parameter with a 2 part structure; audit.report?
How do you access an uncatalogued dataset in a jcl?
What is the use of symbol // in jcl?
How can the disposition of sysout datasets be set for an entire jobstream?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat