View previous topic :: View next topic
|
Author |
Message |
satish.sanagavarapu
New User
Joined: 19 Sep 2014 Posts: 3 Location: hyderabad
|
|
|
|
Hi,
I have copied REXX code to SYSPROC and while I am running the macro,I am getting the following Error.Can some one help me on this..!!!
IKJ56532I STMT 204 - LABEL readSource SPECIFIED BUT COMMAND NOT FOUND
IKJ56532I STMT 752 - LABEL exitModule SPECIFIED BUT COMMAND NOT FOUND
Regards,
Satish.S |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Well, it is reasonably clear what it is saying - in your macro (you are certain that it is a macro and not a program?) there should be labels 'readsource' and 'exitmodule' but the interpreter is saying that they do not exist. Check the code. Run with a trace. Any problems post the code.
BTW 'exitModule' seems to indicate that this is not a macro but a program otherwise an intelligent programmer would have called it 'exitMacro'. Possibly! |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
You are missing /*rexx */ on the first line of your program. The default is to assume it is a clist program. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
And what the heck is this: "Getting error - COBOL INLINE ERROR DISPLAY UTILITY" |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
COBOL INLINE ERROR DISPLAY UTILITY |
probably is the name of the tool write/used by the TS |
|
Back to top |
|
|
satish.sanagavarapu
New User
Joined: 19 Sep 2014 Posts: 3 Location: hyderabad
|
|
|
|
Hi,
Still its not working..Please find the attached code which I am trying to execute.Please some one refer and let me know whether any modifications required...!!
Thank you,
Regards,
Satish.S
751-line attachment deleted |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
It's from here, where the source is included.
There are 751 lines of source, including comments.
Have you followed all the instructions?
Have you tried to Trace?
Have you left a message for the developers? (No). |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
why
Code: |
ADDRESS ISPEXEC "ISREDIT (lend) = LINENUM .ZLAST"
ADDRESS ISPEXEC "ISREDIT (lstart) = LINENUM .ZFIRST" |
and not a plain Address ISREDIT ? |
|
Back to top |
|
|
satish.sanagavarapu
New User
Joined: 19 Sep 2014 Posts: 3 Location: hyderabad
|
|
|
|
What are the changes i need to make to the rexx code which is attached..?Can some one suggest..!!
Regards,
Satish.S |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
do You really expect that somebody will go over a 700 lines script to fix it for You ?
did You try to run it with TRACE A |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
repeating:
Quote: |
You are missing /*rexx */ on the first line of your program. The default is to assume it is a clist program. |
I am clairvoyant. Now that I looked at the source, I see that it is indeed missing. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
And with the courtesy to comment on the IBM site, Pedro.
For completeness, here is what TS/OP included as the first few lines of the deleted attachment:
Code: |
/*REXX*/
ADDRESS ISREDIT "MACRO (STRING)"
ADDRESS ISREDIT "RESET"
/*------------------------------------------------------------------------
Syntax :
Usage : <cmd> <jobname> <jobid>
OR
Usage : <cmd> <joblog dataset name>
OR
Usage : <cmd> setup
----------------------------------------------------------------------
*/
ADDRESS ISPEXEC "ISREDIT MACRO (STRING)"
ADDRESS ISREDIT "RESET" |
|
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
And with the courtesy to comment on the site, Pedro.
For completeness, here is what TS/OP included as the first few lines of the deleted attachment:
Code: |
/*REXX*/
ADDRESS ISREDIT "MACRO (STRING)"
ADDRESS ISREDIT "RESET"
/*------------------------------------------------------------------------
Syntax :
Usage : <cmd> <jobname> <jobid>
OR
Usage : <cmd> <joblog dataset name>
OR
Usage : <cmd> setup
----------------------------------------------------------------------
*/
ADDRESS ISPEXEC "ISREDIT MACRO (STRING)"
ADDRESS ISREDIT "RESET" |
|
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
An internet search would have found a resolution from 2005 without all of this anyway :-) |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
FYI, this error message does not make sense for rexx, but does make sense for CLIST:
Code: |
IKJ56532I STMT 204 - LABEL readSource SPECIFIED BUT COMMAND NOT FOUND |
You can put either rexx or clist into SYSPROC, but a rexx program has to have /*rexx */ as a first line of the exec, otherwise it is invoked as a clist. |
|
Back to top |
|
|
|