Question & Answer
Question
I was looking at how to embed the z/OS Connect V3 Enterprise Edition (EE) within by CICS Transaction Server for z/OS (CICS TS) V5.3 region and was performing each of the steps outlined in the Mainframe Dev article Configuring z/OS Connect EE v3 inside CICS Transaction Server
When I got to step to "Build your SAR file for EDUCHAN", I chose to keep the COBOL copy book EDUSTRUC referred to in the EDUCHANresponseCDD.xml CDD in the PDS and not download it. I did this based on note 4 of Building a SAR for the CICS service provider in the z/O Connect EE documentation which indicates both the requestStructure and responseStrucutre definition elements can be in a Unix directory or a PDS member .
My EDUCHANresponseCDD.xml looks like this:
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Channel Description Document EDUCHAN response -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<channel xmlns="http://www.ibm.com/xmlns/prod/CICS/channel">
<container name="CICSRC" type="bit" use="required">
<structure location="//BULFIN.CNTL.COB2(EDUSTRUC)"/>
</container>
<container name="OUTPUTDATA" type="char" use="required"/>
<container name="CICSTIME" type="char" use="required"/>
</channel>
When I run the BAQZCBT batch job, my STDOUT DD shows messages:
BAQB0000I: z/OS Connect Enterprise Edition Build Toolkit Version 1.0
BAQB0001I: Creating service archive from configuration file /u/bulfin/EDUCHAN.properties
BAQB0006E: Failed to save service archive file /u/bulfin/EDUCHAN.sar. Reason: DFHPI9552E Value "@??@??`??????@@@@@@@@@???@??M?¨@????`?K@@@@@@@@@@@@@@@@@@@@@@@@@@@@" is not a valid integer in file "//'BULFIN.CNTL.COB2(EDUSTRUC)'".
Should this work?
Answer
The error in message BAQB0006E is due to a code page mismatch. If you choose to leave the COBOL copy book on z/OS in a PDS member, you need to edit your EDUCHAN.properties file to add the optional property:
languageStructureCodePage=<Java Character Set Name>
I get the same error if I leave the EDUSTRUC in a PDS, but after I add the codepage as follows to my EDUCHAN.properties file:
languageStructureCodePage=IBM037
my job completes successfully and creates the service archive (SAR) file. These are the STDOUT messages that I get after making the change:
BAQB0000I: z/OS Connect Enterprise Edition Build Toolkit Version 1.0
BAQB0001I: Creating service archive from configuration file /u/bulfin/EDUCHAN.properties
BAQB0002I: Successfully created service archive file /u/bulfin/EDUCHAN.sar
Product Synonym
CICS/TS CICSTS CICS TS CICS Transaction Server;zCEE
Was this topic helpful?
Document Information
Modified date:
14 February 2023
UID
dwa1395382