IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Command ""EXPAND " not active


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Bhavesh upadhyay

New User


Joined: 20 Jul 2010
Posts: 7
Location: India

PostPosted: Fri Oct 08, 2010 11:05 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Oct 08, 2010 11:09 am
Reply with quote

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
View user's profile Send private message
Bhavesh upadhyay

New User


Joined: 20 Jul 2010
Posts: 7
Location: India

PostPosted: Fri Oct 08, 2010 1:21 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Fri Oct 08, 2010 1:43 pm
Reply with quote

Quote:
I want execute it through ISPF panel,


clarify what You mean by that...
is it an edit macro or what?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Oct 08, 2010 2:06 pm
Reply with quote

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
View user's profile Send private message
Bhavesh upadhyay

New User


Joined: 20 Jul 2010
Posts: 7
Location: India

PostPosted: Fri Oct 08, 2010 2:20 pm
Reply with quote

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.
icon_lol.gif
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Fri Oct 08, 2010 2:23 pm
Reply with quote

You are welcome.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
Search our Forums:

Back to Top