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 are the various section in data division and briefly explain them.

0 Answers  


consider two data items 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

5 Answers   TCS,


What is the significance of the PROGRAM-ID paragraph? If this name doesnt match with the name of the COBOL program, does it make a difference? Is the name specified in the PROGRAM-ID paragraph used as a name for the load module or any such thing?

4 Answers   IBM,


Consider the following COBOL entries 05 X PIC 99 VALUE 10. ADD 40 X TO X. COMPUTE X = 3 * X - 40. The result in X is

12 Answers   TCS,


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  






is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


How to recover a deleted source physical file from library?

1 Answers   HCL,


how many divisions are there in cobol

3 Answers   ADP,


How do you do in-line PERFORM?

4 Answers   Accenture,


s9(18) comp-3:: What is the size of memory it takes internally?

4 Answers  


after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,


If I want to increase the Limit in GDG. What should I do?

1 Answers   IBM,


Categories