Jul 21, 2004 #1 sagn Programmer Joined Jun 7, 2001 Messages 166 Location US Hi, Using CVF6, How can I retrieve the name of the user that is logged in without asking them directly? I'd like to create files with the username appended to it but do not know how to get that information from the system. thanks diane
Hi, Using CVF6, How can I retrieve the name of the user that is logged in without asking them directly? I'd like to create files with the username appended to it but do not know how to get that information from the system. thanks diane
Sep 17, 2004 #2 Phil31 Programmer Joined Sep 4, 2002 Messages 20 Location FR Just use the GETLOG subroutine from the Portability library as in the following code: Code: [blue]use[/blue] DFPORT ... [blue]character(256)[/blue] [i]name[/i] [blue]call[/blue] GETLOG([i]name[/i]) ... Upvote 0 Downvote
Just use the GETLOG subroutine from the Portability library as in the following code: Code: [blue]use[/blue] DFPORT ... [blue]character(256)[/blue] [i]name[/i] [blue]call[/blue] GETLOG([i]name[/i]) ...