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

Sample Load Utility JCL to load data into a table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Mon Feb 12, 2007 11:08 pm
Reply with quote

Hi all,
Could any one post a JCL to load data into a table, (i.e.. Load utility).


Cheer's,

Thamilzan.
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 199
Location: Sri Lanka

PostPosted: Tue Feb 13, 2007 8:17 am
Reply with quote

Here is one, add a job card and change the 'x'.
SYSIN contains the load card.

//STEP0xx EXEC PGM=DSNUTILB,REGION=xM,
// PARM='xxxx,xxxxxxxx'
//SYSPRINT DD SYSOUT=*
//UTPRINT DD SYSOUT=*
//SYSREC DD DSN=x.x.x.x,
// DISP=SHR
//SYSIN DD DSN=x.x.x.x,DISP=SHR
//SYSDISC DD DSN=x.x.x.x,
// DISP=(,CATLG),SPACE=(CYL,(x,x),RLSE)
//SYSMAP DD SPACE=(CYL,(x,x))
//SYSERR DD SPACE=(CYL,(x,x))
//SYSUT1 DD SPACE=(CYL,(x,x))
//SORTOUT DD SPACE=(CYL,(x,x))
Back to top
View user's profile Send private message
vini_srcna

Active User


Joined: 26 May 2005
Posts: 178
Location: Copenhagen, Denmark

PostPosted: Wed Feb 14, 2007 2:07 pm
Reply with quote

Go to DB2I Primary Option Menu and use the option 8 UTILITIES to generate a JCL used by utilites. give the load control card while generating it will generate the JCL as per your installation.
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 Pulling a fixed number of records fro... DB2 2
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top