ToolkitIpcrm.sh

ToolkitIpcrm.sh

Postby josef_hausstaetter on Sat May 05, 2012 6:38 am

Hello,
after installing the PTF 2ZSVRPI
I miss the script ToolkitIpcrm.sh

Josef
josef_hausstaetter
 
Posts: 4
Joined: Fri Feb 19, 2010 7:13 am

Re: ToolkitIpcrm.sh

Postby aseiden on Sun May 06, 2012 7:17 am

Hi, Josef,

I have asked Zend about it and will let you know.

Meanwhile, you only need this .sh file if you encounter problems with the demo.

Are you having other problems? Or does the demo scripts work for you?

Alan
aseiden
 
Posts: 697
Joined: Thu Apr 09, 2009 5:45 pm

Re: ToolkitIpcrm.sh

Postby josef_hausstaetter on Mon May 07, 2012 3:33 pm

Thanks
I have apparently problems with the CCSID now

dspsysval qccsid 65535
fastcgi. conf SetEnv = " CCSID = 819 "= SetEnv=de_DE"
httpd. conf DefaultFsCCSID 37 CGIJobCCSID 37

DEBUG.LOG
Exec start: 2012-05-07 16:20:48
IPC: '/tmp/josef'. Control key: *immed
Stmt: call ZENDSVR.iPLUG512K(?,?,?,?)
Input XML: <?xml version="1.0" encoding="ISO-8859-1" ?>
Output XML:
Exec end: 2012-05-07 16:20:48. Seconds to execute: 0,011307954788208.

Db disconnect requested and done.

Exec start: 2012-05-07 16:20:48
IPC: '/tmp/JOSEF'. Control key: *cdata *sbmjob(ZENDSVR/ZSVR_JOBD/XTOOLKIT)
Stmt: call ZENDSVR.iPLUG512K(?,?,?,?)
Input XML: <?xml version="1.0" encoding="ISO-8859-1" ?><script>

<pgm name='TAST110' lib='MATAEND, QTSDENT'>
<parm comment='TAST110'><data type='2A' var='inArt'>01</data></parm><parm comment='TAST110'><data type='10A' var='inUser'>JOSEF</data></parm><parm comment='TAST110'><data type='3A' var='paFirma'> </data></parm><parm comment='TAST110'><data type='10A' var='paLager'> </data></parm><parm comment='TAST110'><data type='1A' var='paAendErl'> </data></parm><parm comment='TAST110'><data type='20A' var='paTechGrp'> </data></parm>

</pgm>
</script>
Output XML: <?xml version="1.0" encoding="ISO-8859-1" ?>
<report>
<error>
<errnoile>0</errnoile>
<errnopase>2</errnopase>
<errnoxml>1000005</errnoxml>
<xmlerrmsg>PASE resolve failed</xmlerrmsg>
<xmlhint><ܬCDATA¬TAST110||></xmlhint>
</error>
<error>
<errnoile>0</errnoile>
<errnopase>2</errnopase>
<errnoxml>1100016</errnoxml>
<xmlerrmsg>XML run pgm failed</xmlerrmsg>
<xmlhint><ܬCDATA¬offset 58:<pgm name='TAST110' lib='MATAEND, QTSDENT'>
<par||></xmlhint>
</error>
<joblog job='XTOOLKIT' user='JOSEF' nbr='786586'><ܬCDATA¬ 5761SS1 V6R1M0 080215 Jobprotokoll anzeigen BUP520P6 07.05.12 16:20:51 Seite 1
Jobname . . . . . . . . . . : XTOOLKIT Benutzer . . . . : JOSEF Nummer . . . . . . . . . . . : 786586
Jobbeschreibung . . . . . . : ZSVR_JOBD Bibliothek . . . : ZENDSVR
NACHR-ID ART BEW DATUM ZEIT VON PGM BIBLIOTHEK INST AN PGM BIBLIOTHEK INST
CPF1124 Information 00 07.05.12 16:20:48,736340 QWTPIIPP QSYS 04C0 *EXT *N
Nachricht . . . : Job 786586/JOSEF/XTOOLKIT im Subsystem ZENDSVR in ZENDSVR
am 07.05.12 um 16:20:48 gestartet. Job im System am 07.05.12 um 16:20:48.
angekommen.
CPI1125 Information 00 07.05.12 16:20:48,736654 QWTPCRJA QSYS 010F *EXT *N
Nachricht . . . : Job 786586/JOSEF/XTOOLKIT übergeben.
Ursache . . . . : Job 786586/JOSEF/XTOOLKIT wurde von Job
783437/QUSER/QSQSRVR an Jobwarteschlange ZSVR_JOBQ in ZENDSVR übergeben. Job
786586/JOSEF/XTOOLKIT wurde mit dem Befehl SBMJOB (Job übergeben) mit den
folgenden Jobattributen gestartet: JOBPTY(5) OUTPTY(5) PRTTXT()
RTGDTA(QCMDB) SYSLIBL(QSYS QSYS2 QHLPSYS QUSRSYS)
CURLIB(*CRTDFT) INLLIBL(ZENDSVR QGPL QTEMP) INLASPGRP(*NONE) LOG(4
00 *NOLIST) LOGCLPGM(*YES) LOGOUTPUT(*JOBEND) OUTQ(/*DEV) PRTDEV(PRT05)
INQMSGRPY(*RQD) HOLD(*NO) DATE(*SYSVAL) SWS(00000000) MSGQ(QUSRSYS/JOSEF)
CCSID(65535) SRTSEQ(*N/*HEX) LANGID(DEU) CNTRYID(DE) JOBMSGQMX(64)
JOBMSGQFL(*WRAP) ALWMLTTHD(*NO) SPLFACN(*DETACH).
*NONE Anforderung 07.05.12 16:20:48,737597 QWTSCSBJ *N QCMD QSYS 0195
Nachricht . . . : -CALL PGM(ZENDSVR/XMLSERVICE) PARM('/tmp/JOSEF')
||></joblog>
</report>


Exec end: 2012-05-07 16:20:51. Seconds to execute: 2,6925311088562.


Exec start: 2012-05-07 16:20:51
IPC: '/tmp/JOSEF'. Control key: *immed
Stmt: call ZENDSVR.iPLUG512K(?,?,?,?)
Input XML: <?xml version="1.0" encoding="ISO-8859-1" ?>
Output XML:
Exec end: 2012-05-07 16:20:51. Seconds to execute: 0,0050032138824463.

Db disconnect requested and done.
josef_hausstaetter
 
Posts: 4
Joined: Fri Feb 19, 2010 7:13 am

Re: ToolkitIpcrm.sh

Postby aseiden on Tue May 08, 2012 8:42 am

Josef,

1. I see a problem with the program library:
<pgm name='TAST110' lib='MATAEND, QTSDENT'>

What is the correct library for program TAST110?
'MATAEND, QTSDENT' can't be right.

Are you trying to set a library list?

2. If your machine is set for German, you shouldn't use 37 for your CCSID. Perhaps it should be 273 or 1141.
The full list of CCSIDs:
http://www-01.ibm.com/software/globaliz ... tered.html

Alan
aseiden
 
Posts: 697
Joined: Thu Apr 09, 2009 5:45 pm

Re: ToolkitIpcrm.sh

Postby josef_hausstaetter on Tue May 08, 2012 9:01 am

Hello,

the Programmlibrary is MATAEND and the Database-Tables ar in QTSDENT

how to set the Librarylist?

josef
josef_hausstaetter
 
Posts: 4
Joined: Fri Feb 19, 2010 7:13 am

Re: ToolkitIpcrm.sh

Postby aseiden on Tue May 08, 2012 9:45 am

Josef,

After connecting with getInstance() but before calling the program, use this command:
$conn->ClCommand('CHGLIBL LIBL(MATAEND QTSDENT)');

If you prefer, you can use ADDLIBLE multiple times instead of CHGLIBL.

--Alan
aseiden
 
Posts: 697
Joined: Thu Apr 09, 2009 5:45 pm

Re: ToolkitIpcrm.sh

Postby josef_hausstaetter on Tue May 08, 2012 11:42 am

Thanks Alan
works perfectly :-)

josef
josef_hausstaetter
 
Posts: 4
Joined: Fri Feb 19, 2010 7:13 am


Return to New Toolkit

Who is online

Users browsing this forum: No registered users and 0 guests