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
 
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 Need help on TDQ load from file using... subratarec CICS 4 Wed Jun 13, 2018 11:32 pm
No new posts How to delete large data. Mounika Nemani DB2 1 Wed Jun 13, 2018 1:58 pm
No new posts Extracting DDL for all list of intere... Ashishpanpaliya DB2 5 Mon May 21, 2018 4:08 pm
No new posts Ways to share data between Cobol and ... Benchwarmer Java & MQSeries 3 Thu May 10, 2018 9:16 pm
No new posts 3270 Data stream error Benchwarmer CICS 6 Tue Apr 17, 2018 12:06 am

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