comp.sys.ibm.as400.misc - IBM AS/400 miscellaneous topics.
I want to issue a CREATE PROCEDURE for an external (RPG/400) program. Instead of giving a fixed library, I want the system to search for the program in the library list of the job which later calls the procedure. However, it seems I cannot specify a library list. I tried CREATE PROCEDURE ... EXTERNAL NAME *LIBL/myProg GENERAL CREATE PROCEDURE ... EXTERNAL NAME "*LIBL"/myProg GENERAL CREATE PROCEDURE ... EXTERNAL NAME '*LIBL'/myProg GENERAL CREATE PROCEDURE ... EXTERNAL NAME myProg GENERAL but either the CREATE PROCEDURE fails, or the command fails when I want to call the procedure later, saying that it can't find the Program myProg. Does anyone have an idea how to accomplish this? Thanks Urs Eichmann
We have a RPGLE program that does an embedded java call. After control returns to our program, we do some work on a file XXX by calling a CLLE program from the same RPGLE program. This works great interactive. Problem starts when running this program in batch mode. The java call is being made and control returns to our program. We call the CLLE program, but then things go wrong. We get a message that file XXX can not be found. The batch jobs goes into MSGW state. When we examine the job at this point and take a look at the library list (option 13 DSPJOB), the library that holds file XXX is in there. Even more, the file XXX is in the list of locks (option 12 DSPJOB). So why can't the CLLE find the file ? When we take out the java call and then run the program in batch, everything runs just fine. So it looks like the java call is really messing things up. Seems like the java environment is doing something in batch that really screws up the job. How can we find out what the problem might be ? Is there someone who has experienced the same behaviours ? Can you think of a solution or workaround ? Thanks, Mark
Hi. I'm trying to run a job from job scheduler on V5R4. It's a simple CALL. I'm running it from a user with specific job description, I also use that jobd as a JOBD parameter. I need this job description to configure job library list (program I'm trying to call is in library which isn't in default OS list). I do the same thing on other system with V5R3. On V5R4 job submits without library list set in my specific job description and I get an error that program I'm trying to CALL can't be found in *LIBL. Can anybody tell me what I possibly do wrong ? Tomasz