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
Explain dfsort utility?
Explain how can the submitting users racf authority be overridden in a job stream?
List the different components of jcl statement?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Explain about LMFREE�free data set from its association with data ID
Explain the function of dd disp parameter?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
What does a disposition of (new,catlg,keep) for a dsn mean?
What is timing concept in mainframe?
What is jcl in mainframe?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
Describe the various parameters utilized in the creation of a gdg?
what is DD statement is used in JCL?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
What is the purpose of the dd keylen parameter?