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
 

 

Regarding SYSTSIN and SYSIN

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

New User


Joined: 12 Mar 2010
Posts: 64
Location: India

PostPosted: Tue Mar 30, 2010 11:35 am    Post subject: Regarding SYSTSIN and SYSIN
Reply with quote

Hi Guys,

Please let me know if I can use a SYSTSIN and a SYSIN in the same IKJEFT01 step for calling a DB2 program.

Also if the above is possible can you please give me an example wherein we will encounter the above scenario?
Back to top
View user's profile Send private message

Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 94
Location: India

PostPosted: Tue Mar 30, 2010 12:59 pm    Post subject: Reply to: Regarding SYSTSIN and SYSIN
Reply with quote

The below example is from this link with SYSTSIN and SYSIN in the same IKJEFT01 step , executing a DB2 program.

Code:
//DSNACCMB JOB your-job-statement parameters
// // RUN MODIFY RECOVERY //
//MODRCVY EXEC PGM=IKJEFT01,DYNAMNBR=20 //SYSTSPRT DD SYSOUT=
//SYSPRINT DD SYSOUT=
//SYSUDUMP DD SYSOUT=
//SYSTSIN DD DSN SYSTEM(DSN1) RUN PROGRAM(DSNACCMB) PLAN(DSNACCMB) END /
//SYSIN DD DSN=USER.MBMR02,DISP=SHR
// // RUN COPY //
//COPY EXEC PGM=IKJEFT01,DYNAMNBR=20
//SYSTSPRT DD SYSOUT=
//SYSPRINT DD SYSOUT=
//SYSUDUMP DD SYSOUT=
//SYSTSIN DD DSN SYSTEM(DSN1) RUN PROGRAM(DSNACCMB) PLAN(DSNACCMB) END /
//SYSIN DD DSN=USER.MBCP02,DISP=SHR
Back to top
View user's profile Send private message
Amb

New User


Joined: 12 Mar 2010
Posts: 64
Location: India

PostPosted: Tue Mar 30, 2010 7:26 pm    Post subject:
Reply with quote

I am asuming DSNACCMB that you mentioned is a COBOL DB2 program and not some IBM supplied program.
Please correct me if I am wrong.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Mar 30, 2010 8:52 pm    Post subject:
Reply with quote

Hello,

Quote:
I am asuming DSNACCMB that you mentioned is a COBOL DB2 program and not some IBM supplied program.
Why would this be a concern. . .?

The posted jcl is what was asked for - a job using both SYSTSIN and SYSIN in the same step. It shouldn't matter which module is being executed. . .
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Mar 30, 2010 9:22 pm    Post subject:
Reply with quote

AMBy,

modules with the prefix DSN (among others) are reserved by IBM.
you can find others by reading the documentation -
which I suggest that you do, since this and another post by you indicates that
you have read little,
and have decided to ask a lot.
Read and if you have questions, ask and someone here will answer.

otherwise, what Mr. Scherrer said is correct.
Back to top
View user's profile Send private message
Amb

New User


Joined: 12 Mar 2010
Posts: 64
Location: India

PostPosted: Tue Mar 30, 2010 10:01 pm    Post subject:
Reply with quote

Thanks for the help icon_smile.gif
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 to know what sysin for DFHTU690 ... pkmurali CICS 3 Mon Jul 25, 2016 1:36 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm
No new posts SYSIN PDS Library Concatenation Brad McCoy JCL & VSAM 6 Mon Jul 07, 2014 11:49 pm
No new posts Can't specify a dataset to SORT SYSIN? dejunzhu DFSORT/ICETOOL 5 Tue Nov 05, 2013 1:01 pm
No new posts Can SYSIN errors be rectified without... techie09 JCL & VSAM 17 Thu Oct 31, 2013 11:59 am


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