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 statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What is concatenating?
Suppose I have five jobs to do. But I want to hold one?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Explain the function of dd disp parameter?
Is their any set of rules for dd? Explain.
Name the parameters which can be used to limit the number of records written to a sysout dataset?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Explain how can a stopped job be started again?
Explain about ISPF/TSO Commands
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
How does jcl act on code(if you take a cobol program)?
When output dataset space is required, what quantity categories are used?
what operation is performed by job statement?
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