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 All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Avoid job abend on dataset held by us... JCL & VSAM 6
No new posts After newcopy the CICS program user f... CICS 7
No new posts User ABEND U0476. Need help. IMS DB/DC 1
No new posts System add a USER parm when job submi... TSO/ISPF 4
No new posts Reflection 3270 screen shows only 23 ... Compuware & Other Tools 6
Search our Forums:


Back to Top