Use the Program Data Structure to get job info in RPG - the layout is as
follows:

D* Program Status Data Structure       
D                SDS                   
D  ###PGM           *PROC              
D*                 Job Name            
D  ##JOBN               244    253   
D*                 Job User
D  ##JOBU               254    263     
D*                 Job Number          
D  ##JOB#               264    269  0  
D*                                     
D  @PGMQ                  1     10     
D  @CPFEXCP              40     42     
D  @CPFEXCP#             43     46     
D  @CPFODT               47     50     
D  @CPFMSG               51     80     
D  @CPFEM                91    170     



-----Original Message-----
From: CarollaT@xxxxxxxxxxxxxx [mailto:CarollaT@xxxxxxxxxxxxxx]

My question is this:  I would like to retrieve the name of the user profile
that is running the current program. 

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.