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

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

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

I've a requireent, I have done some research with help of google but couldn't get any proper solution, could some one help me on!

Requirement: There are 3 datasets,dataset1 : is having one key row(Value1/Value2/value3). Datasets2/3/4: have data i.e many records which need to be write into the output/another dataset based on value present in first dataset key.

Suppose - case 1: if dataset1.value = Value1 then write dataset2 records into another/output dataset. Case 2: if dataset1.value = Value2 then write dstaset3 records into another/output dataset. Case 3: if dataset1.value = Value3 then write dataset4 records into another/output dataset.

Seems like using RC code, we can achive above requiremnt but not sure until i test. hence if anyone knows any other way of doing it, please help me icon_smile.gif

Editd - changed 'file' to 'dataset' many times. corrected spelling
_________________
Gunapala


Viewing all articles
Browse latest Browse all 9405

Trending Articles