Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

DFSORT/ICETOOL :: RE: How to use 2 input files in control control card

$
0
0
Author: Gunapala CN
Subject: Reply to: How to use 2 input files in control control card
Posted: Thu Oct 13, 2016 7:56 pm (GMT 5.5)

Thanks for all your time.

sorry for putting plain problem statement in front of you!

My requirement would be like below -

File1 will be having data/record :OFF/ON/TRIAL
File 2 will be having records eg :AAAAAAAA and many more
File3 will be having records eg: BBBBBBBB and many more
File 4 will be having records eg:CCCCCCCC and many more
File 5 will be the Output file :

what i need to here is that :

if File1 record = OFF
File 2 data is need to populate into Output file i.e. File5
else If File1 record =ON
File 3 data is need to be populate into the same File5 file
else
if File1 Record = TRAIL
File4 data is need to be populate into the same File5 file.
end if

Note : i know this scenarios we can handle it in Cobol but we would like try wthr its possible do it with complete JCL/SORT CARDS help. Also with help of RC(return codes , explicit SET in previous step based on condition) we can achieve. we are trying out this.
_________________
Gunapala


Viewing all articles
Browse latest Browse all 9405

Trending Articles