How to read records from flat file in reverse order through
COBOL program?
Answer Posted / dimpy19
1. Using FileAid
//STEP0100 EXEC PGM=FILEAID
//SYSPRINT DD SYSOUT=*
//DD01 DD DSN=YOUR INPUT DATASET,DISP=SHR
//DD01O DD DSN=YOUR OUTPUT FILE IN REVERSE ORDER,
// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(CYL,(X,Y),RLSE)
//SYSIN DD *
$$DD01 COPYBACK
/*
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
i want a program using by if, evaluate , string, unstring, perform, occurs?
What are the rules of the move verb?
Differentiate between structured cobol programming and object-oriented cobol programming.
Mention the guidelines to write a structured cobol program?
Write some characteristics of cobol as means of business language.
What are 77 levels used for?
Describe the cobol database components?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
What is the difference between perform … with test after and perform … with test before?
What is a report item?
What is amode(24)?
i need a small 3d program using inline and outline.
how do you reference the fixed unblock file formats from cobol programs
How do get the result of your program directly on your pc?
Write a program to enter and display the names of students in a class using the occurs clause.