View previous topic :: View next topic
|
Author |
Message |
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
I will repost my previous post because I believe it has your answer. The first 4 bytes are the length of the variable length record. To remove them use the following.
I think you want OUTREC=(1:5,108).
If you do not need to sort the file SORT FIELDS=COPY will work fine in place of SORT FIELDS=COPY.
Note that with length 108 you are still cutting off byte 109. Check to see if this contains needed data. |
|
Back to top |
|
|
swapnadeep.ganguly
Active User
Joined: 21 Mar 2007 Posts: 203 Location: India
|
|
|
|
I think I cannot make myself clear to you Guru's.
My question is while we use the IBM Utility DSNUTILB, do we get a junk value in the first two columns of the generated dataset?
After following the method you all suggested, I was able to generate the file without the junk characters. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
My question is while we use the IBM Utility DSNUTILB, do we get a junk value in the first two columns of the generated dataset? |
Why do You ask a question which You already replied by Yourself,
the original program, AS YOU SAID, creates a VB ( variable blocked ) dataset
what You consider JUNK ( garbage/useless things) is the most important component of VB organization...
THE LENGHT OF THE RECORD |
|
Back to top |
|
|
|