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
 

 

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
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
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts User Cancels the job PANDU1 DB2 1 Sat Mar 04, 2017 8:21 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


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