View previous topic :: View next topic
|
Author |
Message |
madprasy
New User

Joined: 08 Apr 2008 Posts: 34 Location: Chennai
|
|
|
|
Hello all,
After opening a PDS, when we say "SAVE LIST", all my members and their parameters are saved in <RACFID>.LIST.MEMBERS.
but, this dataset(RACFID.LIST.MEMBERS) is the missing the "MESSAGE" column.
Say,
when I do SRCHFOR in a PDS, I might listed with few members as message "FOUND". Now I need to save this message also in the list members, but "SAVE LIST" option couldnt retrieve this data.
Is there a way, we can include the "message" also in the "LIST" output?
Please help me. |
|
Back to top |
|
 |
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
cut and paste |
|
Back to top |
|
 |
Anuj Dhawan
Superior Member

Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Not sure about "SAVE LIST" however, the value for the Prompt field shows the 7-character informational status after the completion of the service. And if you run an edit macro or TSO command against a member, the 7-character informational status is available via the dialog variable ZPROMPT. |
|
Back to top |
|
 |
Pandora-Box
Global Moderator
.jpg)
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
If you just need the list of member which has string ? why not use 3.14 option and execute it in a batch and store the output in a dataset? |
|
Back to top |
|
 |
madprasy
New User

Joined: 08 Apr 2008 Posts: 34 Location: Chennai
|
|
|
|
Hi Nic,
cut and paste work inside the member or PS file. I need the data withing PDS. |
|
Back to top |
|
 |
madprasy
New User

Joined: 08 Apr 2008 Posts: 34 Location: Chennai
|
|
|
|
Hi Pandora-Box,
I need the created date, referenced date, owner details also. So option 3.14 doesnt helps me. Thanks |
|
Back to top |
|
 |
Pandora-Box
Global Moderator
.jpg)
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
1.save list
2.Run 3.14
3.Compare both files |
|
Back to top |
|
 |
madprasy
New User

Joined: 08 Apr 2008 Posts: 34 Location: Chennai
|
|
|
|
Nic Clouston wrote: |
cut and paste |
For 1000+ records?[/quote] |
|
Back to top |
|
 |
Pandora-Box
Global Moderator
.jpg)
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Never tell me you haven't completed it yet?
Topic can be locked and deleted |
|
Back to top |
|
 |
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
1000+ at 20+ lines per screen - 40+ with the right parameters - is about 50 cut'n'pastes. I've done worse - just be prepared to be bored. It is work after all so you are getting paid for it. |
|
Back to top |
|
 |
prino
Senior Member

Joined: 07 Feb 2009 Posts: 1318 Location: Vilnius, Lithuania
|
|
|
|
Use the macro facility of your emulator... |
|
Back to top |
|
 |
senjay
Active User

Joined: 10 May 2007 Posts: 147 Location: India
|
|
|
|
HI Madprasy,
If I understood your requirement correctly, you don't need to do cut-past n number of times Here is an easier way to achieve it.
a) After you used SRCHFOR inside the PDS and before you are going to save using SAVE LIST, bring your cursor to the PROMPT (under which the message FOUND is there) and press ENTER.
b) Now all your members which have the needed 'string' will be coming first in ascending order (say list1), followed by the ones that do not have the needed 'string' in ascending order (say list2).
c) Now enter SAVE LIST. Your USERID.LIST.MEMBERS will have the same order mentioned in point b)
d) Open your USERID.LIST.MEMBERS in Edit mode. Mark the label as .a in the beginning of (the first member) the list1 and Mark the label as .b in the end of the (last member) of the list1.
e) Now type C ALL P'=====' 'FOUND' 21 25 .A .B
You will get your desired result (21-25 positions will be filled with FOUND characters).
If you want the order to be same as that of the one in PDS, you can sort this file, taking your member names as key.
If this is not what you want, let us know for more details. |
|
Back to top |
|
 |
ezio vin
New User

Joined: 16 Aug 2012 Posts: 44 Location: india
|
|
|
|
well said senjay  |
|
Back to top |
|
 |
senjay
Active User

Joined: 10 May 2007 Posts: 147 Location: India
|
|
|
|
Thanks Ezio Vin,
One small correction:
Quote: |
b) Now all your members which have the needed 'string' will be coming first in ascending order (say list1), followed by the ones that does not have the needed 'string' in the descending order (say list2).
|
It should be:
b) Now all your members which have the needed 'string' will be coming first in ascending order (say list1), followed by the ones that does not have the needed 'string' in the ascending order (say list2).
Can, any of the moderators, change it in the previous post. |
|
Back to top |
|
 |
PeterHolland
Global Moderator

Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
Can, any of the moderators, change it in the previous post.
|
Done. |
|
Back to top |
|
 |
madprasy
New User

Joined: 08 Apr 2008 Posts: 34 Location: Chennai
|
|
|
|
Thanks a lot guys! |
|
Back to top |
|
 |
|