i just need the first and last record from a sequencial
file?how
Answer Posted / sneha
USE SKIP(N) To skip number of records
if 10 accounts are there and u want to skip first 7 records
use
//sysin dd*
repro infile(dd1) -
outfile(dd2) -
skip(07) -
count(03)
/*
for 1st and last
//sysin dd*
repro infile(dd1) -
outfile(dd2) -
count(1) -
skip(08) -
count(01)
/*
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
what is the purpose of coding class parameter in job statement?
Explain the jcl exec statement?
Is their any set of rules for dd? Explain.
What do you understand by the term notcat 2 – gs?
Matching Logic in Jcl not in cobol.Could any one please answer this question
Is acct parameter mandatory?
can any one plzzzzzz tell the jcl code for creating ps using idcams
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
Differentiate between the joblib and the steplib statements?
Is it possible to code instream data in a PROC?
whats the diff bw the evaluate also and and?
What statement can be used to send data to another mvs jes3 node?
Describe the various parameters utilized in the creation of a gdg?
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?