IBM Support

DFHPI9540E Unsupported keyword " PIC " when running BAQLS2JS for PL/I copybook

Question & Answer


Question

I have been successfully processing COBOL copybooks with the z/OS Connect Enterprise Edition BAQLS2JS utility. Why would I get the following messages when I try to run BAQLS2JS for my first PL/I copybook?

DFHPI9540E Unsupported keyword "PIC" has been found.
DFHPI9558E ERRORS have been generated processing file "//MY.PL1.COPYBOOK(SAMPLE)"

The exception is:

com.ibm.cics.wsdl.CICSWSDLException: DFHPI9558E ERRORS have been generated processing file "//'MY.PL1.COPYBOOK(SAMPLE)" at com.ibm.cics.wsdl.ls2ws.LangStruct.readLangStruct(LangStruct.java:423) at com.ibm.cics.wsdl.ls2ws.LangStruct.readLangStruct(LangStruct.java:366) at com.ibm.cics.wsdl.ls2ws.ls2ws.processSimpleInput(ls2ws.java:240) at com.ibm.cics.wsdl.ls2ws.ls2ws.processLanguageStructure(ls2ws.java:415) at com.ibm.cics.wsdl.ls2ws.ls2ws.doAssistantSpecificProcessing(ls2ws.java:5 23) at com.ibm.cics.wsdl.common.GenericSetup.commonExecute(GenericSetup.java:24 5) at com.ibm.cics.wsdl.ls2ws.ls2js.run(ls2js.java:171) at com.ibm.cics.wsdl.common.CICSAssistant.callWSAssistant(CICSAssistant.jav a:733) at com.ibm.cics.wsdl.common.CICSAssistant.DFHLS2JS(CICSAssistant.java:825) at com.ibm.zosconnect.utility.Ls2Js.invokeAssistant(Unknown Source) at com.ibm.zosconnect.utility.Utility.execute(Unknown Source) at com.ibm.zosconnect.utility.Ls2Js.main(Unknown Source) DFHPI9558E ERRORS have been generated processing file "//"MY.PL1.COPYBOOK(SAMPLE)"

Answer

The DFHPI9540E is detected in com.ibm.cics.wsdl.pl1.PL1DataType.java. The array of unsupported keywords contains 'PIC' and 'PICTURE'.

I ran a BAQLS2JS job using the DFH$PFIL sample PL1 copybook supplied in SDFHSAMP and get the same error.

I checked the IBM documentation for CICS TS and topic PL/I to JSON schema mapping states PICTURE strings are not supported so BAQLS2JS is working as designed.

If you need support for the PIC keyword, you will need to submit a Request-For-Enhancement (RFE) for CICS Transaction Server for z/OS to request the DFHLS2JS utility add support for more PL/I keywords. You can submit an RFE using URL https://www.ibm.com/developerworks/rfe/?PROD_ID=440.

For additional help, see How to submit and vote up a CICS RFE - request for enhancement.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Component":"PLI","Version":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNPJM","label":"IBM z\/OS Connect"},"Platform":[{"code":"PF035","label":"z\/OS"}],"Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

CICS/TS CICSTS CICS TS CICS Transaction Server;zCEE

Document Information

Modified date:
14 February 2023

UID

dwa1320691