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: 788
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: 788
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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