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

have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


What is the meaning of 'TALLING' verb in cobol?

5 Answers  


What is a subscript ?

3 Answers  


What is IMPACT analysis?

2 Answers   IBM,


how to know that the file has 300 records how to acess it?

0 Answers   Hewitt, TCS,






What is the difference between NEXT SENTENCE and CONTINUE?

2 Answers   Mphasis,


S9(5)V9(2) occupies how many bytes memory ?

6 Answers   Cap Gemini,


why do u need inspect verb?

3 Answers   Patni,


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

7 Answers  


01 a pic 9(3) value is 123 01 b pic 9(6) move a to b wht will be the value ? and 01 a pic x(6) value is abc 01 b pic x(3) move a to b wht will be the value ?

7 Answers   Patni,


IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why

3 Answers  


I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please

2 Answers  


Categories