IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Include the message in SAVE LIST


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
madprasy

New User


Joined: 08 Apr 2008
Posts: 34
Location: Chennai

PostPosted: Wed Jul 04, 2012 7:13 pm
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Jul 04, 2012 10:51 pm
Reply with quote

cut and paste
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 05, 2012 3:08 pm
Reply with quote

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Thu Jul 05, 2012 3:23 pm
Reply with quote

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
View user's profile Send private message
madprasy

New User


Joined: 08 Apr 2008
Posts: 34
Location: Chennai

PostPosted: Thu Jul 05, 2012 5:45 pm
Reply with quote

Hi Nic,

cut and paste work inside the member or PS file. I need the data withing PDS.
Back to top
View user's profile Send private message
madprasy

New User


Joined: 08 Apr 2008
Posts: 34
Location: Chennai

PostPosted: Thu Jul 05, 2012 5:47 pm
Reply with quote

Hi Pandora-Box,

I need the created date, referenced date, owner details also. So option 3.14 doesnt helps me. Thanks
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Thu Jul 05, 2012 6:59 pm
Reply with quote

1.save list
2.Run 3.14
3.Compare both files
Back to top
View user's profile Send private message
madprasy

New User


Joined: 08 Apr 2008
Posts: 34
Location: Chennai

PostPosted: Sat Oct 13, 2012 3:04 am
Reply with quote

Nic Clouston wrote:
cut and paste



For 1000+ records?[/quote]
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Sat Oct 13, 2012 10:31 am
Reply with quote

Never tell me you haven't completed it yet?

Topic can be locked and deleted
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sat Oct 13, 2012 5:51 pm
Reply with quote

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
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Sat Oct 13, 2012 6:04 pm
Reply with quote

Use the macro facility of your emulator...
Back to top
View user's profile Send private message
senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Tue Oct 23, 2012 10:11 am
Reply with quote

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
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Tue Oct 23, 2012 11:30 am
Reply with quote

well said senjay icon_biggrin.gif
Back to top
View user's profile Send private message
senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Tue Oct 23, 2012 1:18 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 23, 2012 1:31 pm
Reply with quote

Quote:

Can, any of the moderators, change it in the previous post.


Done.
Back to top
View user's profile Send private message
madprasy

New User


Joined: 08 Apr 2008
Posts: 34
Location: Chennai

PostPosted: Thu Oct 25, 2012 5:29 pm
Reply with quote

Thanks a lot guys!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts How to create a list of SAR jobs with... CA Products 3
This topic is locked: you cannot edit posts or make replies. how can I proof that message was post... Java & MQSeries 1
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts IMS Message : DFS3577A IMS DB/DC 4
Search our Forums:

Back to Top