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

Why occurs cannot be used in 01 level in COBOL?

0 Answers   Arigo Infotech,


copy 100 records without using ibm utilities

3 Answers  


What is Static and Dynamic linking ?

3 Answers  


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

7 Answers  


what are the limitations of Inline Perform?

3 Answers   Zensar,






i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2

9 Answers  


How to increase the logical record length of existing PS file?

7 Answers  


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  


can i use multiple when statements in search & search all ? justify ur answer?

2 Answers  


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

3 Answers   Hewitt,


Name some of the examples of COBOl 11?

0 Answers   CSC,


What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES

7 Answers   TCS,


Categories