Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Include the message in SAVE LIST

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
madprasy

New User


Joined: 08 Apr 2008
Posts: 31
Location: Chennai

PostPosted: Wed Jul 04, 2012 7:13 pm    Post subject: Include the message in SAVE LIST
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: 1712
Location: UK

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

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

Senior Member


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

PostPosted: Thu Jul 05, 2012 3:08 pm    Post subject:
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

Moderator


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

PostPosted: Thu Jul 05, 2012 3:23 pm    Post subject:
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: 31
Location: Chennai

PostPosted: Thu Jul 05, 2012 5:45 pm    Post subject:
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: 31
Location: Chennai

PostPosted: Thu Jul 05, 2012 5:47 pm    Post subject:
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

Moderator


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

PostPosted: Thu Jul 05, 2012 6:59 pm    Post subject:
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: 31
Location: Chennai

PostPosted: Sat Oct 13, 2012 3:04 am    Post subject:
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

Moderator


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

PostPosted: Sat Oct 13, 2012 10:31 am    Post subject:
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: 1712
Location: UK

PostPosted: Sat Oct 13, 2012 5:51 pm    Post subject:
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

Active Member


Joined: 07 Feb 2009
Posts: 982
Location: Oostende, Belgium

PostPosted: Sat Oct 13, 2012 6:04 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject: Reply to: Include the message in SAVE LIST
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Oct 23, 2012 1:31 pm    Post subject:
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: 31
Location: Chennai

PostPosted: Thu Oct 25, 2012 5:29 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm
No new posts save SAY var loop. italo_pm CLIST & REXX 3 Sun Sep 04, 2016 3:06 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us