In all my years I never realized that OMVS uses CP1047. What I am trying to 
configure is giving me fits.

I have a CICS program that is trying to do a WEB CONVERSE with an embedded 
jetty server jar running under BPXBATCH. I might find that running the server 
this way will not work, but I am giving it a whirl.

All of my problems seem to be with square brackets. The script that runs the 
jar has square brackets surrounding the port number, JSON input to DFHJS2LS has 
square brackets surrounding "required" items, and the body of the POST have 
square brackets surrounding an array.

I can use CP1047 to execute the OMVS script and run the DFHJS2LS utility, but 
nothing I try works on the WEB CONVERSE. It looks to be trying CP037 square 
brackets. I've tried CCSID in DFHJS2LS, CODEPAGE in WEB CONVERSE (with and 
without CLICONVERT) to no avail. I have confirmed that the JSON in CICS has the 
CP1047 brackets.

It seems that the best solution is to get my OMVS process to use CP037, but 
what I tried doesn't work. I found documentation that BPXBATCH does this with 
STDENV of LC_CTYPE="En_US.IBM-037", but tit does not change the behavior of the 
script running under BPXBATCH. In the code below the server honors the port 
number if the brackets are in the right codepage. If not it defaults to 8080. 

-Ddw.server.applicationConnectors[0].port=8192

Paul
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to