Can a PS file be read in reverse order?If so,how

Answers were Sorted based on User's Feedback



Can a PS file be read in reverse order?If so,how..

Answer / 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

Can a PS file be read in reverse order?If so,how..

Answer / ravi krian

yes,using arrays we can read ps file in reverse order

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More JCL Interview Questions

when can a job time-out occur? How to overcome that?

0 Answers   IBM,


in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?

4 Answers   HCL,


Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?

2 Answers   CTS,


In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.

4 Answers  


Can we call instream to catalog and catalog to instream?

0 Answers  






What is the use of symbol // in jcl?

0 Answers  


Are there any set of rules for the names of the steps used in a job? What are they?

0 Answers  


hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..

1 Answers   CTS,


Is there any command to check wether the ps file is in sorted order?

4 Answers  


In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?

4 Answers  


I have 255 procedures in a job, each procedure contain 2 steps.can we execute this job?

2 Answers  


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


Categories