How I sort the records in a file and copy the first 10
records to another file
Answer Posted / girish kumar
just write like this
sysin dd *
sort fields=copy
stop after=10
/*
//
i tryed it's working
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
which utility is used to sort a file in jcl?
What do you know about jcl?
Is acct parameter mandatory?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
how can you check if a file is empty using jcl?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain the function of job statement in jcl?
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 jcl in mainframe, and how many types of jcl statements are there for a job?
List in order the hierarchical levels of jcl?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
How dummy is used in jcl?
Explain the purpose of dd * statement in jcl?
What parameter of the job statement is used to limit the cpu time consumed by the job?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?