View previous topic :: View next topic |
Author |
Message |
PaulPeplinski Beginner
Joined: 17 Feb 2006 Posts: 11 Topics: 3
|
Posted: Fri Aug 19, 2022 12:43 pm Post subject: CICS JSON Utility DFHJS2LS |
|
|
I've been struggling with this for a couple days now. I have a java11 server running on z/OS. From my browser I can do a /openapi.json, which I presume gives me the json that I need to create the CICS bundle.
Everything that I do gives me a message DFHPI9692E Unsupported JSON schema. A JSON schema requires a "type" keyword with a single string value for object "root".
In some cases when I run it it will identify the position where the error occurs and it looks that square brackets (at least) are giving me a problem. It seems that I have done every iteration of transfer (test/binary), EOL (Windows/Unix), chtag -c and CCSID I can think of.
The brackets are x'AD' and x'BD', which is CCSID 1047 (and maybe others). In CCSID 37 they are x'BA' and x'BB'.
The shell script that runs the server on z/OS contains a [0], which seems to be handled just fine. How it displays in Vista depends on my screen codepage (US C or US CP37).
Any suggestions on what might be the problem - how to transfer from Windows to z/OS and what to use for chtag or CCSID? Or do I have a different kind of problem?
Paul |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
|
Posted: Fri Aug 19, 2022 2:28 pm Post subject: |
|
|
PaulPeplinski,
how are you transferring the file? FTP? if so use
Code: |
QUOTE SITE SBD=(IBM-1047,ISO8859-1)
|
_________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
misi01 Advanced
Joined: 02 Dec 2002 Posts: 624 Topics: 175 Location: Stockholm, Sweden
|
Posted: Sun Aug 21, 2022 5:52 am Post subject: |
|
|
I'm assuming you have validated your JSON schema using something like https://www.jsonschemavalidator.net/ ??? _________________ Michael |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|
|