if a file has 1000 recods how copy the records from 1 to 100
records using sort
Answer Posted / rv rocks
using iceman utility we can copy the 1st 100 records .
//sysin dd *
option copy, stopaft=100
/*
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
Describe the cobol database components?
Why occurs cannot be used in 01 level in COBOL?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is report-item in COBOL?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the difference between Call and a Link?
What is the use of intialize verb?
How arrays can be defined in COBOL?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
When is inspect verb is used in cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?