View previous topic :: View next topic
|
Author |
Message |
nmodi85
New User
Joined: 13 Jul 2011 Posts: 9 Location: India
|
|
|
|
I have written a Program which Search the member. The content of the member is shown. However I want to pass all the information of the member in a Variable and the then I want to display the Varible. Please help me. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Please explain in simple terms of exactly what and why you want do do |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2596 Location: Silicon Valley
|
|
|
|
Use EXECIO to read the dataset into a rexx stem variable. Your search should be by examining the stem variable.
Use the ISPF display service to display your variables. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
What do you mean by
nmodi85 wrote: |
I want to pass all the information of the member in a Variable. |
Which information?
To display the variable, you need only to
but I guess you mean more than that, so... we want more information too! |
|
Back to top |
|
|
nmodi85
New User
Joined: 13 Jul 2011 Posts: 9 Location: India
|
|
|
|
The Rexx program will display its Output in the Panel....
I have made a Tool in which I want to display the data which was searched in the Member present in PDS. However My program is able to display the same but only one line. I want to display the information like Abend Discription and its resolution steps which is more then one line.
So please help me !!!!!! |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
OMG, another I wrote a tool! thread,
by someone who does not understand the 'tools' they are using!
Quote: |
So please help me !!!!!! |
with the usual Please do my work for me |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
nmodi85 wrote: |
The Rexx program will display its Output in the Panel....
I have made a Tool in which I want to display the data which was searched in the Member present in PDS. However My program is able to display the same but only one line. I want to display the information like Abend Discription and its resolution steps which is more then one line.
So please help me !!!!!! |
It would help if you were to supply an example of a member you are processing and the result you are expecting. An example of the search argument(s) and the Panel would also help. What you have given so far is extremely vague.
Garry. |
|
Back to top |
|
|
anatol
Active User
Joined: 20 May 2010 Posts: 121 Location: canada
|
|
|
|
loos like you design your panel with only one output line ... |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
nmodi85 wrote: |
I have made a Tool in which I want to display the data which was searched in the Member present in PDS. However My program is able to display the same but only one line. I want to display the information like Abend Discription and its resolution steps which is more then one line. |
Ahh, a Tool with a big T!!
So far you have not received any help because you haven't given any relevant information. Nobody knows (except you) what are the "resolution steps" and nobody knows how you have defined your panel! |
|
Back to top |
|
|
jerryte
Active User
Joined: 29 Oct 2010 Posts: 203 Location: Toronto, ON, Canada
|
|
|
|
nmodi85 wrote: |
I have written a Program which Search the member. The content of the member is shown. However I want to pass all the information of the member in a Variable and the then I want to display the Varible. Please help me. |
If you are doing a simple "search and display" then you don't need a rexx for this. Use ISPF Super Search (option 3.15) which can display the "found" line plus lines before and after. Use the LPSF process option for this. You can also control the number of lines displayed by using Edit Statements. |
|
Back to top |
|
|
Vkp321
New User
Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
nmodi85
You need to read the member into one stem veriable and display the records
Code: |
"EXECIO * DISKR FIN (FINIS STEM IN."
DO RCD =1 to IN.1
SAY IN.RCD
END |
|
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Vkp321 wrote: |
nmodi85
You need to read the member into one stem veriable and display the records
Code: |
"EXECIO * DISKR FIN (FINIS STEM IN."
DO RCD =1 to IN.1
SAY IN.RCD
END |
|
It is kind of you to contribute, but did you test this? What is in IN.1 for controlling the end of your DO? |
|
Back to top |
|
|
Vkp321
New User
Joined: 05 Jan 2009 Posts: 56 Location: Dublin
|
|
|
|
My bad, it should be IN.0 that contains the total number of records. |
|
Back to top |
|
|
|