Answer Posted / dimpy19
I know we can do it by reading all records into an array....
Then read records in reverse order by using subscript or index
but can any body give me the exact code.
--read the record in index and access it backward using index or subscript
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Give the syntax of job specifying jcl statement.
What is the motivation behind coding class parameter in job statement?
when can a job time-out occur? How to overcome that?
Can an individual step be restricted from using all the jobs allowed cpu time?
which utility is used to sort a file in jcl?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
How can the disposition of sysout datasets be set for an entire jobstream?
Name what parameter directs the output of the job log dataset?
What is catelog procedure and how many catelog procedure to use in one job?
i want to store 20 digits . how will u do it in cobol ?
Explain dfsort utility?
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
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what JCL Procedures?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?