Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
Posted: Mon Dec 23, 2002 3:50 pm Post subject:
Vallishar,
The following DFSORT jcl will give you the results.This jcl also works with syncsort.Since your input file is vb , your actual record starts from position 5( the first 4 bytes is RDW).We also need the parm CONVERT to convert a VB file to FB Format.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Mon Dec 23, 2002 4:54 pm Post subject:
Vallishar,
Kolusu's DFSORT job should do the trick. Note that since you want to copy contiguous fields, you could actually do that with the following simpler OUTFIL statement:
Code:
OUTFIL CONVERT,OUTREC=(10,82)
However, the OUTFIL statement Kolusu shows is useful for documenting the fields involved.
For more information on using DFSORT to convert from VB to FB, see the "How can I convert a VB data set to an FB data set? " Ask Professor Sort item at:
For more information on using DFSORT to convert from FB to VB, see the "How can I convert an FB data set to a VB data set? " Ask Professor Sort item at:
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