Solved

Get Username from COBOL

Posted on 2013-01-02
1
390 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
scoreUp challenge 14 48
topping2 challenge 13 62
move one pixel 4 41
creating threads in delphi 1 55
This article will show, step by step, how to integrate R code into a R Sweave document
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now