I had 100 records and i want to execute last three records by
using cobol programming?what will be coding?
Answer Posted / atul
Using Short card you can write the last 3 records.
Short card as :
SORT FIELDS=COPY SKIPREC=97 STOPAFT=03
It will copy the last three records and put it in a file.
Cobol program can use this file containing records.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is redefines clause in COBOL?
Explain what you understand by passing by value.
what is amode(24), amode(31), rmode(24) and rmode(any)?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What guidelines should be followed to write a structured cobol prgm?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How do you reference the following file formats from cobol programs?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are various search techniques in cobol? Explain.
Are you comfortable in cobol or jcl?
How do u write test cases?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
How do you define a variable of comp-1 and comp-2?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What are declaratives and what are their uses in cobol?