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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm


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