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 Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm

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