how to get the messages in the panel displayed?



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

how to get the messages in the panel displayed?

Postby wuyunjiefov » Mon Dec 08, 2014 8:31 am

Dear all, i 'm a new guy for REXX/CLIST, i want to catch the messages in the panel displayed while i access a lib by typing 3.4.
Pls guide.

e.g. how can i get the library 'IBMUSER.TEST.COPY' when i typing the REXX routine in the command line?

VIEW              IBMUSER.TEST.COPY                         Row 00001 of 00006
Command ===> REXX                                                       Scroll ===> CSR 
           Name     Prompt       Size   Created          Changed          ID   
_________ ATTR                     40  2007/05/30  2007/05/30 07:18:05  IBMUSER
_________ CUSTMAS                   9  2007/05/29  2007/05/29 22:51:50  IBMUSER
_________ ERRPARM                   6  2007/05/29  2007/05/29 22:54:27  IBMUSER
_________ INVCTL                    5  2007/06/07  2007/06/07 06:12:02  IBMUSER
_________ INVOICE                  13  2007/05/29  2007/05/29 18:06:54  IBMUSER
_________ PRODUCT                   7  2007/05/29  2007/05/29 22:49:35  IBMUSER
wuyunjiefov
 
Posts: 10
Joined: Sun Dec 07, 2014 7:58 pm
Has thanked: 1 time
Been thanked: 0 time

Re: how to get the messages in the panel displayed?

 

Re: how to get the messages in the panel displayed?

Postby enrico-sorichetti » Mon Dec 08, 2014 10:54 am

while the requirement is clear to You,
unfortunately You were not able to describe it to us in a understandable way :mrgreen:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: how to get the messages in the panel displayed?

Postby wuyunjiefov » Mon Dec 08, 2014 11:42 am

haha. ok.

i want to get the current PDS/library that i'm viewing by REXX. LIKE 'IBMUSER.TEST.COPY'.

VIEW IBMUSER.TEST.COPY Row 00001 of 00006
Command ===> REXX Scroll ===> CSR
Name Prompt Size Created Changed ID
_________ ATTR 40 2007/05/30 2007/05/30 07:18:05 IBMUSER

I tried to vget the variable form the default "VGET (ZDSN) PROFILE" , but it was displayed as empty.
wuyunjiefov
 
Posts: 10
Joined: Sun Dec 07, 2014 7:58 pm
Has thanked: 1 time
Been thanked: 0 time

Re: how to get the messages in the panel displayed?

Postby enrico-sorichetti » Mon Dec 08, 2014 11:58 am

haha

nothing to laugh about :evil:

still clear as mud ...

You are in motion 3.4 displaying the dataset list ...
after that what is that You want to do ?

in case You are EDITING/VIEWING A PDS member
from inside an edit macro You can get the DATASET and the MEMBER names

keep explaining
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: how to get the messages in the panel displayed?

Postby wuyunjiefov » Mon Dec 08, 2014 12:25 pm

My action is before i EDITING/VIEWING A PDS member, just come into the library, will not come into the member. Then i will type a designed REXX named 'subro' in the command line, i want the rexx to display the library.
wuyunjiefov
 
Posts: 10
Joined: Sun Dec 07, 2014 7:58 pm
Has thanked: 1 time
Been thanked: 0 time

Re: how to get the messages in the panel displayed?

Postby prino » Mon Dec 08, 2014 8:13 pm

Action 1: The user will do this or that
Response 1: I'm expecting ...

Action 2: Now the user will do
Response 2: I'm expecting ...

Language is obviously a big problem for you, so follow the above instructions, maybe then we can make sense of your mud...
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy

These users thanked the author prino for the post:
wuyunjiefov (Tue Dec 09, 2014 8:43 am)
User avatar
prino
 
Posts: 536
Joined: Wed Mar 11, 2009 12:22 am
Location: Oostende, Belgium
Has thanked: 3 times
Been thanked: 21 times

Re: how to get the messages in the panel displayed?

Postby Peter_Mann » Mon Dec 08, 2014 9:10 pm

wuyunjiefov wrote:haha. ok.

i want to get the current PDS/library that i'm viewing by REXX. LIKE 'IBMUSER.TEST.COPY'.

VIEW IBMUSER.TEST.COPY Row 00001 of 00006
Command ===> REXX Scroll ===> CSR
Name Prompt Size Created Changed ID
_________ ATTR 40 2007/05/30 2007/05/30 07:18:05 IBMUSER

I tried to vget the variable form the default "VGET (ZDSN) PROFILE" , but it was displayed as empty.

This is still not clear why since the name of the PDS/library is in the display you provide, unless you're going to do some processing with the PDS,
I think while you're editing or viewing the file its stored on the shared variable pool, I'm not 100% sure but you may want to try
VGET (ZDSN) SHARED
Peter
Peter_Mann
 
Posts: 139
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 14 times
Been thanked: 3 times

Re: how to get the messages in the panel displayed?

Postby enrico-sorichetti » Mon Dec 08, 2014 9:20 pm

the <panel> command entered in the command line will not have available anything

the <line> command entered in front of a dataset will receive as argument the dataset name

just try something along the lines of the snippet I posted here
clist-rexx/topic6830.html?hilit=parse

you will see what happens for <line> commands
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: how to get the messages in the panel displayed?

Postby NicC » Tue Dec 09, 2014 1:23 am

Please use the code tags when posting code/screen shots/data or anything with contiguous spaces or requiring a fixed font. You managed to get colours in (unnecessarily) using the code tags is a similar process but you cannot use other attributes within code tags, which generally is not a problem. I hve encoded your post for you, this time.

Please press F1 key when in ISPF - lots of useful info there inclusing the answer to your question. The manual has even more info. It was written so that you could learn to use the facilities offered by ISPF.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: how to get the messages in the panel displayed?

Postby wuyunjiefov » Tue Dec 09, 2014 9:09 am

prino wrote:Action 1: The user will do this or that
Response 1: I'm expecting ...

Action 2: Now the user will do
Response 2: I'm expecting ...

Language is obviously a big problem for you, so follow the above instructions, maybe then we can make sense of your mud...


Hi Robert,

Yes, language is a problem for me.

Action : The user will login to the MF, (1) type 3==> Utilities (2) type 4 Dslist
(3) type any librbary in the 'Dsname Level' (5) then the user will found many members in the pds!

Then in the screen of (5), i want to run a rexx tp get the messages of the current panel displayed. e.g. lib/member name
wuyunjiefov
 
Posts: 10
Joined: Sun Dec 07, 2014 7:58 pm
Has thanked: 1 time
Been thanked: 0 time

Next

Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post