asplus
Instructor
- Oct 11, 2002
- 16
Hi all,
We are experiencing the following:
We have two different Companies running on our AS/400. They use the same software which has been duplicated with a few exceptions (Hard coded constants). They also have their own sets of files. Company 1 has their files in QS36F while company 2 stores theirs in CMP2LIB. Everything works fine interactively by using FLIB to refer to CMP2LIB for company 2 instead of QS36F. If we do STRS36PRC and the first statement of the called procedure is an FLIB pointing to CMP2LIB, the right file set is accessed. But for some reason, submitting a job with SBMJOB that contains the same statements as above, the FLIB in the called procedure is ignored and files from QS36F are accessed instead of CMP2LIB. Changing the S/36 environment with CHGS36A file library parameter to CMP2LIB would solve the problem of Company 2 but cause one to Company 1.
Did anybody go through the same problem?
Bernard Le Jour
AS Plus Informatique Inc.
We are experiencing the following:
We have two different Companies running on our AS/400. They use the same software which has been duplicated with a few exceptions (Hard coded constants). They also have their own sets of files. Company 1 has their files in QS36F while company 2 stores theirs in CMP2LIB. Everything works fine interactively by using FLIB to refer to CMP2LIB for company 2 instead of QS36F. If we do STRS36PRC and the first statement of the called procedure is an FLIB pointing to CMP2LIB, the right file set is accessed. But for some reason, submitting a job with SBMJOB that contains the same statements as above, the FLIB in the called procedure is ignored and files from QS36F are accessed instead of CMP2LIB. Changing the S/36 environment with CHGS36A file library parameter to CMP2LIB would solve the problem of Company 2 but cause one to Company 1.
Did anybody go through the same problem?
Bernard Le Jour
AS Plus Informatique Inc.