i have variable record in the 5th, i want to sort from 5th filed ? how ?

Answers were Sorted based on User's Feedback



i have variable record in the 5th, i want to sort from 5th filed ? how ?..

Answer / azharuddinsyed

The question is not clear.

What is the column# of the fifth field in the 5th variable record ?

Is This Answer Correct ?    0 Yes 0 No

i have variable record in the 5th, i want to sort from 5th filed ? how ?..

Answer / chandu

USE sort card for this.

sort fields=copy,stopaft=??,skiprec=5

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More COBOL Interview Questions

WHAT IS SOC3?HOW IT CAN BE RESOLVED?

1 Answers  


Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?

6 Answers  


What is the figurative constant in cobol?

1 Answers  


what happens if we dont close cursor in db2-cobol pgm?

6 Answers  


what is the minimum number of lines a Cobol program should have to successfully compile and run

7 Answers  


Can the OCCURS clause be at the 01 level?

2 Answers  


copy 100 records without using ibm utilities

3 Answers  


In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?

1 Answers   CSC,


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,


Explain about different table spaces.

0 Answers  


how to code in cobol while using variable block file?

1 Answers  


How do you differentiate between cobol and cobol-ii?

0 Answers  


Categories