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

in the TIME parameter we r giving hours r minutes

4 Answers   IBM,


I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?

5 Answers   RBS,


Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 Answers  


) How do u handle errors in BMS macro

0 Answers   IBM,


Hi , I am posting some questons which are asked at interview. These may help u for ur interview... what is static and dynamic call?

2 Answers   TCS,


What is the difference between comp and comp-3?

0 Answers  


TYPES OF SORTINGS. which is more prefarable.

2 Answers   Syntel, TCS,


if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,


What is the difference between NEXT SENTENCE and CONTINUE?

2 Answers   Mphasis,


What is perform what is varying?

0 Answers  


In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?

5 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,


Categories