Hi,
My dataset have multiple records, say 100. I want to start
copy records only after a record contain a specific value
that may be in a specific position. Secondly I want to stop
copying rest records if certain record contains a specific
value. Can it be done using SORT/ICETOOL utilities?
Answer Posted / muttaiah
Hi Subrat,
can you cleary mention your query.
you want to start copying only after a particular record
contains a value & stop after you find a value in
particular record.
EX:
100 muttaiah hyd
200 kiran hyd
300 Guru hyd
400 ram hyd
500 narayana hyd
600 hari hyd
consider you input file has 5 records. You want to copy
only when you find 200 in the record & stop when you find
500 in the record
Output:
300 Guru hyd
400 ram hyd
Is this what your question exactly MR. Subrat,
@All:
All the previous answers are wrong
The one who posted i kindly request them to read the
question twice before they post. As number of people are
going to visit this site.
Thanks,
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
what happens in conversion stage in job processing?
Which statement is used to identify the private libraries in job?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
What is the function of a dd statement?
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
How is a type of file defined in the jcl that executes the cobol program?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What are the 2 types of parameters in dd statement?
List the various advantages of using jcl language?
Explain how can a jobs execution priority be modified?
a dd statement has 2 types of parameters. Name them?
What is the difference between run mode and addressing mode?
Why include statement is used in a jcl?
how can you check if a file is empty using jcl?
Can we call instream to catalog and catalog to instream?