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 / selva

SORT FIELD=COPY, SKIPREC=200 (OR SOME MORE RECORDS),
STOPAFT=100

will skip first 200 records, the correct option is

SORT FIELD=COPY,STOPAFT=100

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1911


Difference between cobol and cobol-ii?

715


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.

1703


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

1001


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5068






What is amode(24)?

684


What is link edit in cobol?

779


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

714


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2064


How do we get current date from system with century in COBOL?

809


What are the access modes of START statement?

723


What do you understand by psb and acb?

672


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1960


How you can characterize tables in cobol?

723


What are different data types in cobol?

695