1
  • Decimal data error in batch job

    I have written an RPGLE program which was called from a CL with parameters. When I run this program interactively it gave me results as expected, but when I change the CL from direct call to Batch call via SBMJOB with parameters it doesn't give me any results. When I checked it in WRKACTJOB it was...

    hunshabbir71,505 pointsBadges:
  • Differing Results With SBMJOB Command

    We are having a problem using SBMJOB to run a long EXECUTE SQL command string on one of our environments. When we run the string from the command line, it runs. When we embed it in the SBMJOB command, it fails with a message indicating a missing apostrophe. Looking at the job log, the command seems...

    rweber45 pointsBadges:
  • CL program entery missing in JOBLOG

    Hi all, I have a CLP program C1 which is using SBMJOB inside the program to run 5 different batch jobs, and when i submit C1. I am getting Spool entries only for the internal submit jobs submitted by C1, but there is no entry for C1. But I want to get the starting time and ending time of my batch...

    Sai4AS4001,420 pointsBadges:
  • Submitted AS/400 job it’s not found with SBMJOB command

    I have submitted job using command SBMJOB in RPG Program though QCMDEXC. In DBG mode, I checked this command executed successfully but I didn't find job name in system. I used WRKSBMJOB command to see what are all the jobs submitted but I have found my job.sbmjob cmd (call pgm (xyz) parm (&a...

    Askt1140 pointsBadges:
  • SBMJOB command: AS/400 job not found

    I have submitted job using command SBMJOB in RPG Program though QCMDEXC. But sometimes it's not working after submitted. SBMJOB CMD (call pgm (xyz) parm (&a &b)) Apart from above CMD, I need to specify anything else? Please advice.

    SBMJOB20 pointsBadges:
  • Can’t print correct library list out with Java

    We have several customers running on our hardware. For these customers we set up job descriptions to keep library list information since they all have their own database files. I have a Java program that runs as a batch program at a set time to update a database file for each customer. I create...

    DraeByllek45 pointsBadges:
  • Submitting the same Job from multiple users to a single threaded jobq. Output from one job going to another jobs printer?

    We have a Work Order Create program that gets invoked by multiple users multiple times throughout the day. The jobs are submitted to a jobq that is single threaded. Within the calling CL there is a SBMJOB of a secondary job that also gets submitted to the same single threaded jobq. The problem is...

    angelina22210 pointsBadges:
  • Job Date on submitted jobs

    When there is a CL program that executes a SBMJOB command, does the job date from the original CL carry thru as the job date to the CL called in the SBMJOB command?  SBMJOB     CMD(CALL PGM(AR524CL) PARM(' ')) +                        JOB(MYINVSTPDF) JOBQ(QGPL/MYINVPDFS) +       ...

    Canuhp235 pointsBadges:
  • Status of a submitted AS/400 job

    This is the scenario, I want my job B to start after finishing Job A and Job C to start after finishing Job B. Can I use a RTVJOBA to check whether job A has finished sussesfully so that I can submit Job B? If I can use this, which paramter will tell me the job status like successfully completed or...

    RamvishakRamesh2,505 pointsBadges:
  • AS/400 Batch job Issue

    Hi One of our job, for which code was untouched from an year , has now started taking excptionally long time to complete. It used to take hardly 20 mins to complete. Now from last two days it is taking almost 7-8 hrs. The only observation i made was that it is not getting cpu time .5- .8 . I tried...

    Ankita135 pointsBadges:
  • Job Scheduler affecting environment variable

    In CL program I am using QIBM_QSH_CMD_OUTPUT environment variable to direct output to STDOUT and then overriding this to database file. This is to capture logging from sftp server, accessed via batch script. When I run the CL program using SBMJOB from command line it outputs logging to DB file....

    Alleycat20 pointsBadges:
  • CLP parameters overwritten

    Hi.  When I call a CLP, either from command line or from a sbmjob with alpha parameters, if I don't fill up the whole string length it's trailing blanks are overwritten by the next parameters.  Example:  PGM PARM(&P1 &P2 &P3)  DCL VAR(&P1) TYPE(*CHAR) LEN(50)  DCL VAR(&P2) TYPE(*CHAR)...

    Jsebastians15 pointsBadges:
  • How to retrieve the jobq in which my current job is running in CL?

    I have a CL program which will run as a SBMJOB. Now I want to see whether it is running in QBATCH jobq. If not in QBATCH, I have to resubmit it into QBATCH. How I can do it in CL?

    JustinA40 pointsBadges:
  • SBMJOB command

    hi, I have a CLP which calls two programs A and B. A is submitted using SBMJOB command. My requirement is that after sucessfull completion of A i would like to condition program B. Is this possible? Thanks, Siddharth

    Sangay635 pointsBadges:
  • WRKJOBSCDE vs SBMJOB

    I have a job in the job scheduler that runs at 00:30 everynight. I scheduled another job using SBMJOB to run at 01:00. Both these jobs missed the time because a Backup was running ... but when the backup finished I thought the job entry for 00:30 would have kicked off first BUT it did not ... the...

    Tadurb5 pointsBadges:
  • How to restore a SBMJOB Command

    Hi Buy Mistake I deleted the SBMJOB Command Can any one tell me how to restore that. Regards KC...

    5459130 pointsBadges:
  • CPF0006 during SBMJOB (COOL 2E generated code)

    I have used SBMJOB in the COOL 2E SYNON code (Generating COBOL source). During runtime, the fucntion crashes with CPF0006 message when trying to submit the program through Y2CMEXC. Is it the error caused by the Y2BLSJR command through which the parameters for the SBMJOB is set? Parameter 1 MOVE...

    Gokulvirtual15 pointsBadges:
  • Decimal data error

    For testing an RPG program, I changed the CL program which submits the RPG program to a “call”. The change was to include a new parameter (numeric) to the RPG program. After testing, the Call was changed back to SBMJOB, but when tested again, the RPG program bombed with ‘decimal data...

    Moksha20 pointsBadges:
  • Passing parms from a command to a CL pgm to submit a job

    I've created a menu for my staff in STRSDA on of the options is a command to prompt for variables to run a SBMJOB I need to put defined variable in such as object name, library, volser endopt..after supplying these variables from the prompt, I want to hit enter and have these passed along to the...

    Mikey5735 pointsBadges:
1

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