WRKJOBSCDE

440 pts.
Tags:
CL
OS/400
SNDDST
WRKJOBSCDE
Hi friends, I have a CL and this CL executes the command SNDDST, when this CL is executed like a Scheduled JOB this send doesnt works, but when I call in interative or batch mode, this send works. I PUT BELOW THE DISPLAY JOB Display Job Schedule Entry Details System: DEVELOPER Job: RECV83_TMS Entry number: 000039 Status: SCD Last attempted submission: Status . . . . . . . . . . . : Job successfully submitted. Date . . . . . . . . . . . . : 22/04/08 Time . . . . . . . . . . . . : 11:10:00 Last successful submission: Job . . . . . . . . . . . . : RECV83_TMS User . . . . . . . . . . . : VANDERLEI Number . . . . . . . . . . : 425312 Date . . . . . . . . . . . . : 22/04/08 Time . . . . . . . . . . . . : 11:10:00 Schedule day . . . . . . . . . : *MON *TUE *WED *THU *FRI *SAT Schedule time . . . . . . . . : 11:10:00 Frequency . . . . . . . . . . : *WEEKLY Recovery action . . . . . . . : *SBMRLS More... Press Enter to continue. Display Job Schedule Entry Details System: DEVELOPER Job: RECV83_TMS Entry number: 000039 Status: SCD Next submit date . . . . . . . : 23/04/08 Command . . . . . . . . . . . : CALL PGM(LS81OLIB/RECVV83TMS) Job queue . . . . . . . . . . : *JOBD Library . . . . . . . . . . : Job queue status . . . . . . . : Job description . . . . . . . : *USRPRF Library . . . . . . . . . . : Scheduled by . . . . . . . . . : MCHICON User profile . . . . . . . . . : VANDERLEI Message queue . . . . . . . . : *USRPRF Library . . . . . . . . . . : Text . . . . . . . . . . . . . : Recebe Pedido V83 da TMS How can I check pass to pass to resolve this situation ?. Thanks for all to all
1

Answer Wiki

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

Hi,

Have you tried doing a sbmjob to run under the same user profile that you have specified on the job schedule entry?

My first thought would be to put a CHGJOB in your CL program to make sure you get a joblog :-

CHGJOB LOG(4 00 *SECLVL) LOGCLPGM(*YES)

Then see what you get in the joblog. Might also be worth checking which job queue the job goes to and whether the job queue is released and the subsystem is active. (The job has been successfully submitted but has it actually run?)

Regards,

Martin Gilbert.

Discuss This Question: 1  Reply

 
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.
  • SILVARB
    Martin, Thanks for your great help, now i'm know what occurs, the library list from this CL (LS81OLIB/RECVV83TMS) was added and the process works fiannly. Thanks, Roberto
    440 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.

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

Following

Share this item with your network: