IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Extra six bytes information in the output file from DSNUTILB


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
murugan_mf

Active User


Joined: 31 Jan 2008
Posts: 148
Location: Chennai, India

PostPosted: Fri Jan 23, 2009 12:41 pm
Reply with quote

Hi,

I am using DSNUTILB utility to unload data from a table.The output file is of variable length ,normally VB file has only 4 bytes its of information but
this unloaded file has extra 6 bytes.Can someone explain about this extra 6 bytes and this extra 6 bytes position in the output record?How to convert this VB size file to FB size file?

Thanks!
Murugan.l
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Fri Jan 23, 2009 1:59 pm
Reply with quote

I don't believe you can force to a FB file.

The extra bytes may be written for each field of you table having NULL attribute.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Jan 23, 2009 2:08 pm
Reply with quote

Hi,

What does last two bytes of six bytes say?

Quote:
How to convert this VB size file to FB size file?

Please use SORT product what you have at your shop, possibly DFSORT, SYNCSORT, CA-SORT, etc.

I'd use this snippet for converting VB dataset with 425 to FB dataset with 421 since I've SYNCSORT installed in.
Code:
//SYSIN DD *
    SORT FIELDS=COPY
    OUTREC FIELDS=(5,421),CONVERT
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Fri Jan 23, 2009 2:20 pm
Reply with quote

Please refer POSITION parameter of UNLOAD at page no 504.
publib.boulder.ibm.com/cgi-bin/bookmgr/download/dsnugh14.pdf?ACTION=SAVE&DT=20030507154051
Back to top
View user's profile Send private message
murugan_mf

Active User


Joined: 31 Jan 2008
Posts: 148
Location: Chennai, India

PostPosted: Fri Jan 23, 2009 2:26 pm
Reply with quote

Hi,

Quote:
What does last two bytes of six bytes say?


Two of these six bytes contains the OBID.I want to know the position of these six bytes in the output record.

Thanks!
Murugan.l[/quote]
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top