MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Submitting JCL from CICS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Sridhar Reddy
Beginner


Joined: 17 Feb 2003
Posts: 6
Topics: 3

PostPosted: Fri Mar 07, 2003 7:06 am    Post subject: Submitting JCL from CICS Reply with quote

I am using Spool Commands for submitting JCl from CICS program, But I am getting return code +80 (which means 'NoSpool'), While opening Spool Output. Can some one help me to resolve this problem.


SPOOL-OPEN-PARA.

EXEC CICS SPOOLOPEN OUTPUT
NODE(JCL-NODE)
CLASS(JCL-CLASS)
USERID(JCL-USERID)
TOKEN(JCL-TOKEN)
NOCC
PRINT
RESP(JCL-RESP)
RESP(JCL-RESP2)
END-EXEC.

Values I am using for this.

01 JCL-NODE PIC X(04) VALUE 'JES2'.
01 JCL-CLASS PIC X(03) VALUE 'C'.
01 JCL-USERID PIC X(06) VALUE 'INTRDR'.
01 JCL-TOKEN PIC X(08).
01 JCL-RESP PIC S9(8) COMP.
01 JCL-RESP2 PIC S9(8) COMP.
01 JCL-AREA PIC X(80) VALUE SPACES.
01 JCL-LENGTH PIC S9(08) COMP.
Back to top
View user's profile Send private message Yahoo Messenger
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 699
Topics: 63
Location: USA

PostPosted: Fri Mar 07, 2003 8:27 am    Post subject: Reply with quote

Does DFHSIT has anything to do with it?

Regards,
Diba


Last edited by Dibakar on Fri Mar 07, 2003 8:39 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
Sridhar Reddy
Beginner


Joined: 17 Feb 2003
Posts: 6
Topics: 3

PostPosted: Fri Mar 07, 2003 8:36 am    Post subject: Reply with quote

EIBRESP2 saying that 'No subsystem present' .
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12366
Topics: 75
Location: San Jose

PostPosted: Fri Mar 07, 2003 10:21 am    Post subject: Reply with quote

Sridhar Reddy,

Confirm with your CICS system's personnel if the spool to CICS was defined.From your Error messages it is evident that it is not defined or must be named different.

Another possiblity is that do a search in the existing CICS programs with keyword "SPOOL" and try to clone that code.

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group