?
Solved

Get Username from COBOL

Posted on 2013-01-02
1
Medium Priority
?
416 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
[X]
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
1 Comment
 
LVL 11

Accepted Solution

by:
MajorBigDeal earned 1500 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Progress
Introduction to Processes
Suggested Courses

777 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