|
From: "Charles Wilt" <charles.wilt@xxxxxxxxx><midrange-l@xxxxxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion"
Date: 22/10/2019 09:06 AMi.
Subject: Re: Spool file has different job name to job creating it
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>
Yep, long time "working as designed" issue for client/server apps on the
...
Kevin has pointed you to the best solution...
Here's an old doc that talks about the solutions...
https://www.ibm.com/support/pages/retrieving-spooled-files-
generated-host-server-job
Charles
On Mon, Oct 21, 2019 at 4:32 PM Don Brown via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx> wrote:
I have an open PMR for this issue.
Sometimes the response you get from IBM leaves me somewhat bewildered
issue.
Anyway I am hoping someone on the list can suggest a solution to my
button
The scenario is this;
From a web page the user can click a button to open a PDF. This
filecalls a service program that then calls the print program, the spool
passedis then copied to the IFS as a PDF and the path and file name is
userback to the PHP script.
The PHP call to the service program is using XMLSERVICE and is using
jobPHPTSTUSER to authenticate.
So here is the problem;
The XMLSERVICE job is running in QSYSWRK with Current User (from
wrkactjob) as PHPTSTUSER.
If I use 5=Work with from the active jobs list, the user shown for the
jobis QUSER.
The qualified job name is XMLSERVICE/QUSER/367930
The program creates the spool file and the qualified name of the spool
file is QPRTJOB/PHPTSTUSER/347530. Different job name and different
Inumber.
So the process that tries to copy the spool file fails because as yet
jobcan find no way to retrieve the actual spool file name.
Running in debug the program that opens/creates the spool file has the
jobsname of XMLSERVICE/QUSER/367930.
Other Information
On this machine the XMLSERVICE jobs are running in QSYSWRK and as BCI
function of
On a different machine the jobs have a name of XTOOLKIT with a
findXMLSERVICE and as BCH jobs
I set both of these systems up and after much searching still can not
anywhy/how to change the jobs from BCI to BCH. This must be specified in
PHP/XMLSERVICE set up somewhere but I can't find any documentation or
thelikely line in the ini files.
I believe this to be the issue as on the other system(s) the PDF has
succeeds.same job name as the job that created it and the copy to the IFS
API -
IBM's Response
Their first response was to retrieve the job name using the QUSRSPLA
doesI did not expect this to make any difference but I tried it and no, it
made no difference - I do not have the correct qualified job name
available so using the qualified job name the job is running under
thenot retrieve any spool file.
Then after I provided more details and a step by step debug process
itresponse was; So actually, there is no problem with the application
correctself, it works fine and as expected, BUT only fail to retrieve the
takenjob name when running in DEBUG mode, correct?.
I appreciate the support IBM provides but really ? Am I wrong or being
overly critical of the support ?
Thanks
Don Brown
______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has
MSDreasonable precautions to ensure no viruses are present in this email,
use ofcannot accept responsibility for any loss or damage arising from the
listthis email or attachments.
______________________________________________________________________
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
listTo post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx--
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxxquestions.
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
link:
Help support midrange.com by shopping at amazon.com with our affiliate
https://amazon.midrange.comservice.
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
______________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.