View previous topic :: View next topic
|
Author |
Message |
Bhavesh upadhyay
New User
Joined: 20 Jul 2010 Posts: 7 Location: India
|
|
|
|
Hi , I have built a Rexx utility for expand the copybooks present in program (EXPAND).
I want execute it through ISPF panel, but do not know way to add my module to SYSPROC library so it will execute through command line on ISPF panel.
I Checked in ISRDDN there is a lib assigned already. I have moved the module (EXPAND) and then tried to run through ISPF.
but getting message command not active.
Could any one can help me to know, how can i add my module in existing library, so it will work through ISPF command line |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
run with a trace on to see what happens
maybe Your REXX was being executed and has errors
usually when developing tools ia a good idea to issue as first thing a
"SAY <something which identifies the thing being executed>
it is useful to see if it starts at all and that what You are executing is the good version
( useful when there are different versions around )
the say can be taken away at the end of the testing
Quote: |
but getting message command not active. |
whe posting messages You should post the exact message with the message identifier,
not Your interpretation!
the exact message for something not found would be ...
Code: |
IKJ56500i COMMAND <your command> NOT FOUND |
if the text is command not active the issue is somewhere else
posting the exact info will save everybodys time |
|
Back to top |
|
|
Bhavesh upadhyay
New User
Joined: 20 Jul 2010 Posts: 7 Location: India
|
|
|
|
Thanks a lot enrico for your quick reply.
I had check my code is working fine. I have executed it exclusively by typing EX against my module(EXPAND) .
Quote: |
but getting message command not active |
The actual message what i got is below on command line of ISPF panel
Code: |
" EXPAND " is not active |
Thanks,
Bhavesh |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
I want execute it through ISPF panel, |
clarify what You mean by that...
is it an edit macro or what? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
IIRC "EXPAND" is an ISPF System Command :
Displays a variable in a dynamic area in a pop-up expand window. This only applies if the cursor is within a scrollable field. If the scrollable field is input, you will be able to update the variable in the expand window.
So i guess that you are not in before mentioned situation, you get the
"EXPAND is not active" message. |
|
Back to top |
|
|
Bhavesh upadhyay
New User
Joined: 20 Jul 2010 Posts: 7 Location: India
|
|
|
|
Thanks a lot Peter,
I did not realize EXPAND is a system command. My rexx module was not working as it conflicting with sys command . I have changed my module name. Now it is working fine.
Thanks a lot for all your help.
|
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
You are welcome. |
|
Back to top |
|
|
|