MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CICS JSON Utility DFHJS2LS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
PaulPeplinski
Beginner


Joined: 17 Feb 2006
Posts: 11
Topics: 3

PostPosted: Fri Aug 19, 2022 12:43 pm    Post subject: CICS JSON Utility DFHJS2LS Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Aug 19, 2022 2:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
misi01
Advanced


Joined: 02 Dec 2002
Posts: 629
Topics: 176
Location: Stockholm, Sweden

PostPosted: Sun Aug 21, 2022 5:52 am    Post subject: Reply with quote

I'm assuming you have validated your JSON schema using something like https://www.jsonschemavalidator.net/ ???
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group