Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
Hi, is it possible to pass a PARM into a SYNCTOOL and use it in the satements. e.g. in the below attempt, i want to make &CC.. a generic pass to SYNCTOOL step and then use this value inside a CNTL to build the record.
Joined: 28 Sep 2005 Posts: 210 Location: St Katherine's Dock London
Hi Arun,
in
Code:
//IN1 DD DSN=P&CC..FILE.KSDS,DISP=SHR
CC is a variable part which keeps on changing. it's like a region code. and Pcc.FILE.KSDS is there for around 50 different regions with unique cc like X1 X2 X2 (two characters).
when i am building the records out of this file, i want to add these two characters to the output record. so that my output looks like:
Code:
X1 DB 3324 CHF
X1 DB 4432 USD
X2 DB 3324 INR
X2 SE 4432 GBP
.
.
but unfortunately, the cc code is not present in the input files anywhere.