Other Software and Data

 View Only
  • 1.  How use different JOBD for different job

    Posted 01-08-2024 08:48

    Hi,

    I'm using PMEDD on AS400.

    I have several jobs. I want them to each use a different JOBD.

    I don't know how to do it.

    Thank you for your help.

    Sincerely,

    Stéphane



    ------------------------------
    Stephane TORREMOCHA
    UFIFRANCE GESTION
    L'EUROPE BOIS COLOMBES
    ------------------------------


  • 2.  RE: How use different JOBD for different job

    Posted 01-08-2024 08:57

    How are you starting the jobs?

    If you are using the default job scheduler provided with IBM i, (WRKJOBSCDE), there is an entry on that to do it.  Option 2 to change (aka CHGJOBSCDE) has JOBD(MYLIB/MYJOBD).

    If you are using the SBMJOB command it also has this parameter.

    IBM is also providing the Advanced Job Scheduler.  Now it is a no charge option.  I've not started using this as the no charge part is less than a year old and I have other priorities.

    If you can look at the joblog of one of those jobs you should be able to see something like:

    Message ID . . . . . . :   CPI1125

    Message . . . . :   Job 467718/ROB/SYSSTS1 submitted.                     
    Cause . . . . . :   Job 467718/ROB/SYSSTS1 submitted to job queue QBATCH i
      QGPL from job 452551/QSYS/QJOBSCD. 

    That tells me this particular job was started from the standard job scheduler QJOBSCD.



    ------------------------------
    Rob Berendt
    Business Systems Analyst, Lead
    DEKKO GROUP
    GARRETT IN
    ------------------------------



  • 3.  RE: How use different JOBD for different job

    Posted 01-08-2024 09:04

    Hi Rob,

    Thanks for your comment ROB,

    I start my environments by CLP PMEDD/PMEDDCTL ENV(E1) OPT(*STR) 
    PMEDD/PMEDDCTL ENV(E2) OPT(*STR) 
    PMEDD/PMEDDCTL ENV(PL) OPT(*STR) 
    PMEDD/PMEDDCTL ENV(OR) OPT(*STR) 



    ------------------------------
    Stephane TORREMOCHA
    UFIFRANCE GESTION
    L'EUROPE BOIS COLOMBES
    ------------------------------



  • 4.  RE: How use different JOBD for different job

    Posted 01-08-2024 09:14

    I am running Quick-EDD/HA : 2310171247

    I did a WRKOBJ OBJ(*ALL/PMEDDCTL) and I am not finding that program anywhere.  In fact, WRKOBJ OBJ(*ALL/PMEDD*) doesn't find anything.

    If you do a DSPOBJD OBJ(PMEDD/PMEDDCTL) OBJTYPE(*PGM) DETAIL(*FULL)  does the following indicate it's vendor provided or user written?

    Created by user  
    System created on

    If it's user written then modify it appropriately.

    If it's vendor provided then consider the following.  Change the CALL to a SBMJOB and on the SBMJOB put the appropriate job description.

    Or call support and ask them this question.



    ------------------------------
    Rob Berendt
    Business Systems Analyst, Lead
    DEKKO GROUP
    GARRETT IN
    ------------------------------



  • 5.  RE: How use different JOBD for different job

    Posted 01-08-2024 10:42

    Hi Rob,

    I Think, I Found. 

    In PMEDD, the job is launch by a profil. Attached is the screenshot. I must Wait un admnistrateur system for create a new profil with new jobd



    ------------------------------
    Stephane TORREMOCHA
    UFIFRANCE GESTION
    L'EUROPE BOIS COLOMBES
    ------------------------------