what modification we need to do in jcl if we use sort in
cobol? I mean whether we need to include tempary file used
for sorting in assign statement?
Answers were Sorted based on User's Feedback
Answer / guest
yes we need to include one temp file whose record size is same
as that of input file record size
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sandhya
in jcl there is no need to assign temporary file..and we
have to create temporary file in cobol same structure as
cobol program..this temp file sort the records and output
went to output file..
Is This Answer Correct ? | 0 Yes | 1 No |
Should I use STOP RUN in the sub program??why?
For rewrite, why is it mandatory that file needs to be opened?
how to pass 100 to s9(4) how r they inserted ?
How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.
how do you reference the fixed unblock file formats from cobol programs
How do you submit JCL via a Cobol program?
I know my query will return more than one row but I don't want cursor what should I do?
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
How to concatenation one or more string?
Why we are using comp and comp-3 in real time projects?
Consider the following: 77 W-NUM PIC 9 VALUE 0 ------ MOVE 1 TO W-NUM PERFORM PARA-X UNTIL W-NUM > 9. ------ PARA-X ADD 1 TO W-NUM How many times PARA-X is executed ?
How include time & date in the report generation in cobol programing?