How I sort the records in a file and copy the first 10
records to another file
Answer Posted / balasukumar
//SORTIN DD DSN=INF1
//SORTOT DD DSN=OTF
//SYSIN DD *
SORT FIELDS = COPY
SKIP=0
STOPAFT=10
/*
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Explain the function of the steplib dd statement?
Give the syntax of job specifying jcl statement.
What happens if both JOBLIB & STEPLIB is specified ?
i want to store 20 digits . how will u do it in cobol ?
Are there any set of rules for the names of the steps used in a job? What are they?
how to run batch program without jcl?
How does jcl act on a cobol code?
List in order the hierarchical levels of jcl?
which utility is used a dummy utility?
Where can program checkpoints be stored for use in a restart?
Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:
What is one line to pass PARM from JCL to COBOL?
How can a stopped job be started again?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What are some jcl statements that are not allowed in procedures?