Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Get Username from COBOL

Posted on 2013-01-02
1
403 Views
Last Modified: 2013-01-07
Anyone know any way to access the windows username from Fujitsu Cobol?

If not, any environment variable? (ip, computer name...)

Thanks in advance!
0
Comment
Question by:ststesting
1 Comment
 
LVL 11

Accepted Solution

by:
MajorBigDeal earned 500 total points
ID: 38738409
I don't see it in the intrinsic function list or the environment variable list but there is an example program showing how to accept command line arguments.  So you might be able to specify the current user as a symbolic on the command line and then pick it up in the program from the arguments.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VbScript to countdown to New Year's Day 6 65
Not seen Link button 5 55
Recover unsaved Tab contents (and settings/preferences) from Notepad++ 3 92
Programming Codes 2 21
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
A short article about problems I had with the new location API and permissions in Marshmallow
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question