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
 

 

NEED JCL FOR SUBMITTING EMBEDDED SQL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
sandy_mcs

New User


Joined: 01 Apr 2006
Posts: 17
Location: Pune

PostPosted: Mon Apr 03, 2006 7:31 pm    Post subject: NEED JCL FOR SUBMITTING EMBEDDED SQL
Reply with quote

Can somebody plz send me the jcl for submitting embedded sql.
Back to top
View user's profile Send private message

martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Mon Apr 03, 2006 9:26 pm    Post subject:
Reply with quote

hy sandy_mcs,

DB2BATCH EXEC PGM=IKJEFT1B,DYNAMNBR=20
STEPLIB DD DISP=SHR,SYS1.DSN.SDSNLOAD
SYSPRINT DD SYSOUT=*
SYSTSPRT DD SYSOUT=*
SYSOUT DD SYSOUT=*
SYSUDUMP DD SYSOUT=*
SYSDBOUT DD SYSOUT=*
SYSTSIN DD *
DSN SYSTEM (your-db2-ssid)
RUN PROGRAM (DSNTEP2) -
PLAN (DSNTEP2)
//SYSIN DD *
and-here-your-db2-query dml or ddl or dcl....
/*

martin9
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 cobol embedded sql MS_Developer COBOL Programming 7 Fri Oct 14, 2016 2:39 pm
This topic is locked: you cannot edit posts or make replies. ERROR WHILE SUBMITTING LOAD JOB ANURADHA NEELAKANTAN JCL & VSAM 12 Thu Aug 25, 2016 11:50 am
No new posts Null Indicator value -2 means in Embe... deepak_shrivastava DB2 2 Wed Jan 06, 2016 10:27 pm
No new posts [SQL0029] INTO clause missing from em... HABBIE DB2 2 Fri Sep 04, 2015 3:54 pm
No new posts Embedded programs / link'ed programs sivakumar.karthik CICS 5 Fri Jun 05, 2015 1:12 am


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