Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1788
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: 8154
Location: East Dubuque, Illinois, USA

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: 1788
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 Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us