MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Put text

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
sivafdms
Intermediate


Joined: 29 May 2007
Posts: 165
Topics: 77

PostPosted: Tue Apr 26, 2016 5:07 am    Post subject: Put text Reply with quote

Hi Team,

I writing a Rexx macro . I have a requirement where i need to put a text on command line after opening a member in edit mode like below.

Is there anyway I can do this. I tried to search the old posts. But could not find any.

Code:


 EDIT       SIVA.UNLOAD.JCLLIB(UNLOAD1) - 01.00          Columns 00001 00072
 Command ===> ONLY 'SELECT *'                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 000001 //IJ11XXXX JOB (U),'UNLOAD',CLASS=O,                                   
 000002 //       MSGCLASS=R,NOTIFY=IJ11XXX,TIME=1440                           
 000003 //*                                                                     
 000004 /*ROUTE XEQ SSID                                                       
 000005 //*       


Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Apr 26, 2016 9:07 am    Post subject: Reply with quote

Why not do the "ONLY 'SELECT *'" as part of your macro or is it your macro that is invoking EDIT on that member? In which case you could have an initial macro to do your ONLY when you invoke EDIT.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
sivafdms
Intermediate


Joined: 29 May 2007
Posts: 165
Topics: 77

PostPosted: Tue Apr 26, 2016 12:59 pm    Post subject: Reply with quote

Hi Nic,

Only is another macro which works only in edit mode. so when I open member in edit using REXX I want to put that text on command line.

Thanks,
Siva
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Tue Apr 26, 2016 2:01 pm    Post subject: Reply with quote

sivafdms,

Did you check this example?

http://www.mvsforums.com/helpboards/viewtopic.php?p=5971#5971

Even though it talks about CHANGE you can follow the same procedure to have the command as you edit the member.
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sivafdms
Intermediate


Joined: 29 May 2007
Posts: 165
Topics: 77

PostPosted: Wed Apr 27, 2016 12:53 am    Post subject: Reply with quote

Thanks Kolusu. It worked.
Back to top
View user's profile Send private message
sivafdms
Intermediate


Joined: 29 May 2007
Posts: 165
Topics: 77

PostPosted: Wed Apr 27, 2016 12:55 am    Post subject: Reply with quote

I coded below and it worked. I wanted to put text on command line to execute the other macro but below code served my purpose.

"ISPEXEC EDIT DATASET('"MEMNAME"') MACRO(ONLY) PARM(PARMVAR)"

Thanks,
Siva
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Apr 27, 2016 9:20 am    Post subject: Reply with quote

Which is what I suggested.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 616
Topics: 171
Location: Stockholm, Sweden

PostPosted: Sat Apr 30, 2016 2:33 am    Post subject: Reply with quote

Interesting. When I read the first post, I understood the requirement to be to open and place specific text on the command line (for whatever reason).

Reading the remaining appends, it then turns out that sivafdms wanted to run the edit command automatically for the user.

Just goes to show how, no matter how explicitly you THINK you've explained the problem, it can still be misunderstood.
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group