i want to use only first 100 records from a file.plz tell
me how to write JCL for this(for read,copy,write
operations).plz give me details of all posible JCL
utilities?
Answer Posted / nataraj
copy file to esds file this file only sequance order so copy
only first 100 records
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
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.
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
What is the Purpose of Pointer in the string?
What are the different open modes available in cobol?
Explain the configuration section of a cobol program with examples of syntax.
Write the code to count the sum of n natural numbers.
What is static and dynamic call in cobol?
i need a small 3d program using inline and outline.
What are the different rules for performing sort operation?
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
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
how to refer the data field?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
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 ......
how to convert the recors form vsam file to db2 table tru file aid