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

My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.

4 Answers   CTS,


There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?

11 Answers   IBM,


Can you execute a PROC from another PROC?

8 Answers   Keane India Ltd,


what are the ways of passing data to a cobol program from jcl?

1 Answers   IBM,


IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)

8 Answers  






Given a input file with duplicates how to remove the duplicate records from the file using JCL?

6 Answers   CDS, Convergys, TCS,


if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.

4 Answers   IBM,


what is the meaning of keyword in jcl?what is is opposite?

4 Answers  


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

0 Answers  


wht do u mean by notify parameter, how can u give acess to multiple users ?

4 Answers   L&T,


what do you mean by include statement in jcl?

1 Answers   IBM,


i have step1,step2,step3 from where can i start coding cond parameter ?

2 Answers   Verizon,


Categories