Suppose i have a file with 10 recs and i want to skip only the
7 th record and copy the rest into another file. How do i do
it using SORT?

Answer Posted / nishant singhal

SORT FIELDS=COPY
SKIPREC=06
STOPAFT=1

Is This Answer Correct ?    8 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is “Cond= even” and “Cond=only”?

749


Explain the function of dd name parameter with a 2 part structure; audit.report?

908


what JCL Procedures?

705


Explain the function of job statement in jcl?

655


What is condition checking in jcl? Is this possible?

630






I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1935


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1979


Where can program checkpoints be stored for use in a restart?

852


What is the syntax of JCL statement?

702


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2001


when does a dataset go uncataloged?

843


How do you submit a job for execution?

643


What is the purpose of dd * statement in jcl?

816


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

7620


Explain dd statement in jcl?

650