Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IMS DC -Populating user id in the online screen

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: IMS DC -Populating user id in the online screen
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. 00D3003B - time outs in DB2 when invo... chavinash2004 DB2 2 Mon Oct 09, 2017 4:39 pm
No new posts User access certification In Mainfram... Virendra Shambharkar All Other Mainframe Topics 4 Tue Oct 03, 2017 12:32 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us