Can a PS file be read in reverse order?If so,how
Answers were Sorted based on User's Feedback
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 |
Answer / ravi krian
yes,using arrays we can read ps file in reverse order
| Is This Answer Correct ? | 2 Yes | 9 No |
in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
Suppose there r 10 steps . Out fo which i want to execute 10th, 9th and 8th in reverse order without using IEBEDIT. How can i do that..???
what do you mean By spooling? Expand SPOOL?
If there are five steps in a JCL i have to execute the 3rd step, bypass the 4th step and execute the 5th step how do i do this?
13 Answers Cognizant, Convergys, IBM, TCS, Wipro,
How would you understand error(execution phase)?
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
How can I override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL.
Is automatic restart possible in jcl?
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
What statement marks the end of an in-stream or catalogued procedure?