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
 

 

Command ""EXPAND " not active

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Command ""EXPAND " not active
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10272
Location: italy

PostPosted: Fri Oct 08, 2010 11:09 am    Post subject: Reply to: Command ""EXPAND " not active
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10272
Location: italy

PostPosted: Fri Oct 08, 2010 1:43 pm    Post subject: Reply to: Command ""EXPAND " not active
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: 2433
Location: Netherlands, Amstelveen

PostPosted: Fri Oct 08, 2010 2:06 pm    Post subject:
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    Post subject:
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: 2433
Location: Netherlands, Amstelveen

PostPosted: Fri Oct 08, 2010 2:23 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Include/omit with "ALL" pa... mgl DFSORT/ICETOOL 6 Wed Jun 14, 2017 2:31 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm


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