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


Please Help Members By Posting Answers For Below Questions

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.

2010


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

709


What is the Purpose of Pointer in the string?

643


What are the different open modes available in cobol?

722


Explain the configuration section of a cobol program with examples of syntax.

659






Write the code to count the sum of n natural numbers.

701


What is static and dynamic call in cobol?

597


i need a small 3d program using inline and outline.

1640


What are the different rules for performing sort operation?

763


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

2105


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


how to refer the data field?

1812


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


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 ......

10617


how to convert the recors form vsam file to db2 table tru file aid

2763