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



what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include ..

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

what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include ..

Answer / sampangi

i think it's in step.......like &name

Is This Answer Correct ?    1 Yes 0 No

what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include ..

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

Post New Answer

More COBOL Interview Questions

Should I use STOP RUN in the sub program??why?

6 Answers   Xansa,


For rewrite, why is it mandatory that file needs to be opened?

0 Answers  


how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


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.

10 Answers  


how do you reference the fixed unblock file formats from cobol programs

0 Answers  


How do you submit JCL via a Cobol program?

5 Answers   IBM,


I know my query will return more than one row but I don't want cursor what should I do?

1 Answers  


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.

1 Answers   DSRC,


How to concatenation one or more string?

4 Answers   Temenos,


Why we are using comp and comp-3 in real time projects?

4 Answers   IBM,


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 ?

14 Answers   Accenture, TCS,


How include time & date in the report generation in cobol programing?

2 Answers  


Categories