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

How to change the DSNTIAUL-Syspunch load statements?


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

New User


Joined: 06 Jul 2008
Posts: 6
Location: chennai

PostPosted: Wed Sep 29, 2010 11:15 am
Reply with quote

Hi,

When we run the DSNTIAUL unload utility We get the SYSPUNCH dataset with
LOAD DATA LOG NO INDDN SYSREC00 INTO TABLE
Userid.Department

But I need the Card in the below format.

LOAD DATA LOG NO REPLACE REUSE ENFORCE NO NOCOPYPEND
INDDN SYSREC00 INTO TABLE

Userid.Department


Now I am doing this with a Sort utility.
And My question is is there anyway to get the desired syspunch statements With DB2 utility itself.

Thanks,
Raja
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Sep 29, 2010 10:09 pm
Reply with quote

Hi Raja,

Welcome to IBMMAINFRAME!.

Quote:
And My question is is there anyway to get the desired syspunch statements With DB2 utility itself.

Nope. External mechainsm is needed.

Sushanth
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Sep 30, 2010 4:32 pm
Reply with quote

This is what IBM has to say on this, I've not worked much on this, though:

Syntax and options of the LOAD control statement
The LOAD utility control statement, with its multiple options, defines the function that the utility job performs.

You can create a control statement with the ISPF/PDF edit function. After creating it, save it in a sequential or partitioned data set. When you create the JCL for running the job, use the SYSIN DD statement to specify the name of the data set that contains the utility control statement.
Back to top
View user's profile Send private message
Raja Durai

New User


Joined: 06 Jul 2008
Posts: 6
Location: chennai

PostPosted: Fri Oct 01, 2010 11:07 pm
Reply with quote

Thank you ,Sushanth & Anuj. I will work it out and let you know the results.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Oct 04, 2010 7:47 pm
Reply with quote

Good Luck.
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 DSNTIAUL driven delete IBM Tools 0
No new posts How to load to DB2 with column level ... DB2 6
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts REASON 00D70014 in load utility DB2 6
Search our Forums:

Back to Top