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
 

 

unload thetable data using DSNUPROC utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: unload thetable data using DSNUPROC utility
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    Post subject: Reply to: unload thetable data using DSNUPROC utility
Reply with quote

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

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Wed Dec 02, 2015 5:26 am    Post subject:
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: 7914
Location: Bellevue, IA

PostPosted: Wed Dec 02, 2015 9:22 am    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Wed Dec 02, 2015 11:26 am    Post subject:
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    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 TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 2 Fri Dec 09, 2016 10:57 pm
This topic is locked: you cannot edit posts or make replies. Unwrap the data based on delimiter X'25' bhavana yalavarthi DFSORT/ICETOOL 30 Fri Dec 09, 2016 10:25 am
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm


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