********************************* Top of Data **
TRL,V05,00,201409,20140831,
******************************** Bottom of Data
TRL,V05,00,201409,20140831,
******************************** Bottom of Data
Input File 2: (VB)
*********************
000000000002788
*********************
000000000002788
*********************
Input File3: (VB)
********************
000000000446967
********************
000000000446967
********************
Input File4:(VB)
*******************
000071355053
*******************
000071355053
*******************
EXPECTED OUTPUT file (VB) :
TRL,V05,00,201409,20140831,000000000000446967,000000000000002788, 00000000071355053
I want to merge these four records from four different files into a single VB file.
Could you please help us here.
Following is the approach i tried...
//TOOLIN DD *
RESIZE FROM(IN) TO(OUT) TOLEN(540) USING(CTL1)
/*
//CTL1CNTL DD *
INREC BUILD=(1,4,5,180)
OUTFIL BUILD=(1,4,5,540,SQZ=(SHIFT=LEFT,MID=C' '))
/*
RESIZE FROM(IN) TO(OUT) TOLEN(540) USING(CTL1)
/*
//CTL1CNTL DD *
INREC BUILD=(1,4,5,180)
OUTFIL BUILD=(1,4,5,540,SQZ=(SHIFT=LEFT,MID=C' '))
/*
and following is the error i got..
SYT220E RESIZE "FROM" DATASET NOT FIXED LENGTH RECORD FORMAT
Please advise.