signoff with joblog for specific users

15 pts.
Tags:
Security
Can the SIGNOFF command be customized to capture the ineractive joblog for certain specific users? These users are programmers. If so, can you program sample codes? Thanks

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,
I guess no need of programms for this , while the programmers signing off please request them to do this.
signoff (*list)

please let me know the result.
Have a great day

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Jacksonville
    Thank you, chenthil. But is there a way to do it behind the sceen without the programmer knowing the interactive joblog is being captured?
    15 pointsBadges:
    report
  • Taz400
    Create a CL program to catch the current user and then read a file that will contain a list of user to get the job log. If the user is found change the "joblog" parameter for *LIST and then call program QWCCLFEC in QSYS using the proper parameter. Replace the "program to process command" on the SIGNOFF command by your program name using CHGCMD on a command line. ex: (CHGCMD CMD(SIGNOFF) PGM(YOURLIB/YOURPGM)) example of file and cl program to write: File: YOURFILE A R YOURR TEXT('USERS') A SIUSR 10A A COLHDG('USER PROFILE') A TEXT('USER PROFILE') Program: YOURPGM PGM DCL VAR(&JOBLOGYN) TYPE(*CHAR) LEN(7) + VALUE('*NOLIST') DCL VAR(&USER) TYPE(*CHAR) LEN(10) DCLF FILE(YOURFILE) RTVJOBA USER(&USER) REDO: RCVF RCDFMT(YOURR) MONMSG MSGID(CPF0000) EXEC(GOTO CMDLBL(GETOUT)) IF COND(&USER = &SIUSR) THEN(DO) CHGVAR VAR(&JOBLOGYN) VALUE('*LIST') GOTO CMDLBL(GETOUT) ENDDO GOTO CMDLBL(REDO) GETOUT: CALL PGM(QWCCLFEC) PARM(&JOBLOGYN '*DEVD' '*NO ') ENDPGM: ENDPGM Fill in the file YOURFILE with all user profile that you want the joblogs. Dont forget to protect both the file and the program. Caution: I did'nt test this program so test it carefully by keeping you a back door opportunity to put back the initial program on the SIGNOFF command if any problem occur. Please let us know if it works fine ! Good luck ! ________________ TAZ
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following