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


Please Help Members By Posting Answers For Below Questions

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?

651


What is concatenating?

639


Suppose I have five jobs to do. But I want to hold one?

662


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2176


Explain the function of dd disp parameter?

599






Is their any set of rules for dd? Explain.

664


Name the parameters which can be used to limit the number of records written to a sysout dataset?

658


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2071


Explain how can a stopped job be started again?

640


Explain about ISPF/TSO Commands

1315


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

858


How does jcl act on code(if you take a cobol program)?

713


When output dataset space is required, what quantity categories are used?

834


what operation is performed by job statement?

663


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

610