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 / nnn
If you want to copy value of 'A' at 10 th position
SORT FIELDS=(COPY)
INCLUDE COND=(10,1,CH,EQ,C'A')
If you want to stop copy value of 'A' at 10 th position
SORT FIELDS=(COPY)
INCLUDE COND=(10,1,CH,NE,C'A')
| Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
What parameter directs the output of the job log dataset?
in ways data can be passed to a COBOL program from JCL?
what is use of dcb parameter in dd statement?
Name what parameter directs the output of the job log dataset?
Explain the function of //jcllib statement?
what is DSN in JCL and what are the parameters to declare the DSN?
Explain dfsort utility?
How can a stopped job be started again?
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?
how do you code a null statement?
if the submitter of a job wants to inform another user about the job completion, how can it be done?
List the various advantages of using jcl language?
Where can program checkpoints be stored for use in a restart?
What is timing concept in mainframe?
What are the 4 fields in dd statement?