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

IMS DC -Populating user id in the online screen


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cgk_106

New User


Joined: 22 Dec 2006
Posts: 21
Location: chennai

PostPosted: Tue May 29, 2007 12:12 am
Reply with quote

Hi,

Anyone can tell me how to populate the 'Current mainframe userid' ( char (7) ) in the online screen.. Are we having any function for it?? icon_rolleyes.gif
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue May 29, 2007 1:08 am
Reply with quote

Use IO PCB - field USERID
Back to top
View user's profile Send private message
cgk_106

New User


Joined: 22 Dec 2006
Posts: 21
Location: chennai

PostPosted: Mon Jun 04, 2007 7:48 am
Reply with quote

Hi ,
I found the answer for it ..the right way to get the mainframe user is

MFLD (CURUSER,LTNAME)

hope it will help u in the future!! icon_smile.gif
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Jun 04, 2007 8:41 am
Reply with quote

It really depends on how your IMS DC program gets executed and also what exactly you do with USERID info.

If the program is invoked from MFS then MFS userid field can be used. However if IMS DC program is invoked by a transcation code then you got to use IO PCB User id field.
Back to top
View user's profile Send private message
cgk_106

New User


Joined: 22 Dec 2006
Posts: 21
Location: chennai

PostPosted: Tue Jun 05, 2007 6:37 am
Reply with quote

Hi Devzee,

Its really a valid one .I am triggering my program through transaction id only and i found that while triggering from the MFS it is giving Terminal id instead of user id .Thanks for your inputs
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts user exit in IBM Infosphere Optim DB2 8
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Underscore was not populated to onlin... CICS 1
Search our Forums:

Back to Top