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
 

 

JCL calling REXX - getting IKJ56246I and ISPF RC27 warning

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
jzhardy

New User


Joined: 31 Oct 2006
Posts: 29
Location: brisbane

PostPosted: Thu Jul 17, 2014 1:17 pm    Post subject: JCL calling REXX - getting IKJ56246I and ISPF RC27 warning
Reply with quote

hi,

I'm running a set of REXX scripts within JCL. They run successfully, but getting an RC27 and IKJ56246I warning. Any ideas where they are coming from or how to suppress them?


ISPSTART CMD(%NEWC VACZCLHB NC)
IKJ56246I TERMINAL NOT ALLOCATED, FILE IN USE
NEWC successful for VACZCLHB in region NC (autoinstall)
ISPD117
The initially invoked CLIST ended with a return code = 27


here's the cut from my JCL:


//VACZCLHB EXEC PGM=IKJEFT01,DYNAMNBR=250
//SYSUDUMP DD SYSOUT=*

.... (not showing all the lib allocations)

//SYSTSIN DD *
PROFILE PREFIX(UCOY2) WTPMSG
ISPSTART CMD(%TIXBKGN3 PROGRAM(IEFBP1) TRACE(OFF) +
TIUDEBUG(X))
%TICGRETC TIUDEBUG(X)
ISPSTART CMD(%$BATCOPY)
ISPSTART CMD(%NEWC VACZCLHB NC)
ISPSTART CMD(%NEWC OJAAWAE1 NC)
ISPSTART CMD(%NEWC IJAA0511 NC)
/*
Back to top
View user's profile Send private message

Paul Voyner

New User


Joined: 26 Nov 2012
Posts: 51
Location: Switz

PostPosted: Fri Jul 18, 2014 12:39 pm    Post subject:
Reply with quote

It's not possible to say why rc=27 or even which of the 6 REXXs is giving the problem, based on the information you supplied.
But the ISPD117 message simply means that one of the REXXs ended with a RETURN 27 or EXIT 27. That's not a standard return code, so look at the code of the failing REXX and see if 27 is a coded value anywhere. You may have to do some debugging e.g. setting TRACE R.
Back to top
View user's profile Send private message
Paul Voyner

New User


Joined: 26 Nov 2012
Posts: 51
Location: Switz

PostPosted: Fri Jul 18, 2014 2:47 pm    Post subject:
Reply with quote

Oops - the messages do make it clear that the rexx ISPSTART CMD(%NEWC VACZCLHB NC) is the one causing the problem.
But the rest of my comment still applies: you'll have to look inside the NEWC rexx and maybe trace it.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts REXX WTO for console message bipinpeter CLIST & REXX 6 Tue Jun 27, 2017 3:56 pm
No new posts Convert CLIST to REXX cvnlynn CLIST & REXX 12 Tue Jun 27, 2017 2:06 am


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