I have program P1 which calls file F1 which has 100 records
and following structure
001 ..................
002 ..................
003 ..................
098 ....................
099 ...................
100 ....................
Now I want to read these files and write these records in
file F2 in following manner.
001 ...... 051 .....
002 ...... 052 .....
003 ...... 053 .....
.......... .......
.......... .......
.......... .......
048 ........ 098 ......
049 .......... 099 .......
050 .... 100 ......
Answer Posted / vaneesh
Hi Krishnan A
How will how will you split the file into 50-50. Please let
me know with the sort card.
Vaneesh
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between comp and comp-3?
What are 77 levels used for?
Explain the configuration section of a cobol program with examples of syntax.
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.
How to remove 2 duplicate records and copy only one using job control language?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is amode(24)?
how do you reference the fixed unblock file formats from cobol programs
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What are the different rules of SORT operation?
What is inspect in cobol ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is perform what is varying?