i want to use only first 100 records from a file.plz tell
me how to write JCL for this(for read,copy,write
operations).plz give me details of all posible JCL
utilities?
Answer Posted / arul anand.a
SORT FIELD=COPY,
SKIPREC=0 ( skip 0 records)
STOPAFT=100 (stop after 100 records).
so it will copy only first 100 records.
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
what happens if parmparameter passes zero bytes to the program
How do define dynamic array in cobol.
What kind of error is trapped by on size error option?
Difference between array and sub-script ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is the difference between perform … with test after and perform … with test before?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
Write a program to enter and display the names of students in a class using the occurs clause.
How you can read the file from bottom?
How do get the result of your program directly on your pc?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How many sections are there in data division in COBOL?
Write some characteristics of cobol as means of business language.
What is the difference between next sentence and continue in cobol programing language?