i have variable record in the 5th, i want to sort from 5th filed ? how ?
Answers were Sorted based on User's Feedback
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 |
Answer / chandu
USE sort card for this.
sort fields=copy,stopaft=??,skiprec=5
Is This Answer Correct ? | 2 Yes | 3 No |
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
What is the meaning of 'TALLING' verb in cobol?
What is a subscript ?
What is IMPACT analysis?
how to know that the file has 300 records how to acess it?
What is the difference between NEXT SENTENCE and CONTINUE?
S9(5)V9(2) occupies how many bytes memory ?
why do u need inspect verb?
what is the minimum number of lines a Cobol program should have to successfully compile and run
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 ?
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
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