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

How to capture userid using dataset currently in a dataset?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Pallab Kumar Das

New User


Joined: 07 May 2009
Posts: 5
Location: Bangalore, India

PostPosted: Fri May 08, 2009 8:13 am
Reply with quote

In REXX OUTTRAP is used to trap the output in the terminal, but it can only trap messages generated by PUTLINE macro , not generated from TPUT macro. Is there any alternative to OUTTRAP to capture the output generated from TPUT macro? If not please suggest me how can I capture the userid(using the dataset currently) in a dataset generated by WHOSGOT command? Is there any other command to generate userid and also which use TPUT macro?
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Fri May 08, 2009 8:38 am
Reply with quote

See the ISPF QUERYENQ command. WHOSGOT is a local command at your site.
Back to top
View user's profile Send private message
Pallab Kumar Das

New User


Joined: 07 May 2009
Posts: 5
Location: Bangalore, India

PostPosted: Fri May 08, 2009 8:47 am
Reply with quote

Is this going to work for VSAM dataset?
Back to top
View user's profile Send private message
Pallab Kumar Das

New User


Joined: 07 May 2009
Posts: 5
Location: Bangalore, India

PostPosted: Fri May 08, 2009 10:00 am
Reply with quote

Can you please ellaborate how to use that
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top