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

unload thetable data using DSNUPROC utility


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

New User


Joined: 31 Aug 2015
Posts: 6
Location: India

PostPosted: Tue Dec 01, 2015 5:04 pm
Reply with quote

Hi All,

I am unloading the table data(317) into PS file by using DSNUPROC utility.

The table data is copying into PS file but the PS file is creating with LRECl = 32756 with VB format . I want PS file to be created with LRECL=317.

I have given DCB parameters to SYSREC, but still it is creating with 32756.

Please let me know what are the options we need to give to exact table length.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Tue Dec 01, 2015 5:46 pm
Reply with quote

What is the structure of the table?
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3049
Location: NYC,USA

PostPosted: Wed Dec 02, 2015 5:26 am
Reply with quote

I am not sure you will need to provide DCB but why do you not prefer DSNTIAUL?
have you looked here
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Dec 02, 2015 9:22 am
Reply with quote

Are you trying to create a fixed length PS data set or variable length? If variable length, 317 does NOT account for the RDW that is required (LRECL must be at least 321). If fixed length, DB2 might be ignoring that because the utility outputs variable length records; you might try using VB instead of FB (don't forget to add the 4 bytes for the RDW).

Otherwise, the link Rohit posted implies (but does not explicitly state) that you cannot provide a record length of SYSREC so it may not be possible to do what you want, anyway.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3049
Location: NYC,USA

PostPosted: Wed Dec 02, 2015 11:26 am
Reply with quote

Robert , here it is written that lrecl is ignored. But this is for TS as you concur anyway.
Pralhad, look how it's done here
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 Load new table with Old unload - DB2 DB2 6
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Remote Unload of CLOB Columns DB2 6
No new posts Multiple table unload using INZUTILB DB2 2
Search our Forums:

Back to Top