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: 23
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


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