Question

  Asked: Apr 23 2008   2:32 AM GMT
  Asked by: SILVARB


WRKJOBSCDE


WRKJOBSCDE, CL, SNDDST, OS/400

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

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
+1
Click to Vote:
  •   1
  •  0




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.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register

SILVARB  |   Apr 24 2008  2:05PM GMT

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