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
 

 

Sample Load Utility JCL to load data into a table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Sample Load Utility JCL to load data into a table
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    Post subject:
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    Post subject:
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    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 Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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