Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Extra six bytes information in the output file from DSNUTILB

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Extra six bytes information in the output file from DSNUTILB
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: 456
Location: Belgium

PostPosted: Fri Jan 23, 2009 1:59 pm    Post subject:
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: 785
Location: Chennai, India

PostPosted: Fri Jan 23, 2009 2:08 pm    Post subject:
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: 785
Location: Chennai, India

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

Please refer POSITION parameter of UNLOAD at page no 504.
http://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    Post subject: Extra six bytes information in the output file from DSNUTILB
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us