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
Why did you choose to work with ibm mainframe cobol programming?
how do you reference the rrds file formats from cobol programs
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Name the divisions, which are available in a cobol program?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Write a cobol program making use of the redefine clause.
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
In which area will you utilize 88 level items in cobol?
What are the pertinent COBOL commands?
explain sorting techniques in cobol program?
) how do u code after getting data?
) How do u handle errors in BMS macro
What do you understand by psb and acb?