What if my file is a VB one? The '|' delimiter and other records are in the same columns though.
Basically this problem I am facing while migrating from the Platinum Unload utility to DB2 High performance utility called INZUTILB- in the platinum utility, we were using the following -
This implies my Platinum card interprets Character as Spaces and places a space for the timestamp field which is 26 bytes. But my DB2 card cannot do such.
Any help in this regard would be appreciated.
Thanks, _________________ -Sree
Joined: 26 Nov 2002 Posts: 12380 Topics: 75 Location: San Jose
Posted: Tue Jul 05, 2005 9:42 am Post subject:
Sree_sen,
What is the exact position of the timestamp field ?. As per ram's example the timestamp field starts at 19. But looks like your timestamp field actually starts at pos 20. Since it is a vb file we need to add the RDW.
so try the following control cards.
Code:
//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(1,4, $ RDW
5,19, $ FIRST 19 BYTES
X, $ SPACE
24,26, $ TIME STAMP
X, $ SPACE
50) $ REST OF THE DATA
/*
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum