• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 432
  • Last Modified:

Get Username from COBOL

Anyone know any way to access the windows username from Fujitsu Cobol?

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

Thanks in advance!
0
ststesting
Asked:
ststesting
1 Solution
 
MajorBigDealCommented:
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now