IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL - JSON GENERATE


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
husni1972

New User


Joined: 30 Jan 2006
Posts: 1
Location: Brazil

PostPosted: Fri Aug 17, 2018 3:29 am
Reply with quote

658/5000
We have installed here IBM Enterprise COBOL for z / OS 6.1.0
and I'm trying to use the JSON GENERATE command. I can compile but in the command call the process goes into looping and the conversion is not performed.
Has anyone done anything like this?


DISPLAY 'JSON ......:' CPF '/' NAME
JSON GENERATE JTEXT FROM REQUEST COUNT IN IDX
ON EXCEPTION
DISPLAY 'JSON ERROR:' JSON-CODE
STOP RUN
NOT ON EXCEPTION
DISPLAY 'CAME HERE -' JTEXT
DISPLAY FUNCTION DISPLAY-OF (JTEXT (1: IDX))
STOP RUN
END-JSON
DISPLAY 'JSON ......:' JTEXT
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10903
Location: italy

PostPosted: Sat Aug 18, 2018 2:26 pm
Reply with quote

there might be gazillions of reasons why Your program fails
unfortunately the information given is not enough to start thinking about helping You
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Big Five Personality Test in COBOL - ... COBOL Programming 0
No new posts I wrote a Hallmark Movie Plot Generat... COBOL Programming 0
No new posts XML-GENERATE - atomic node with attri... COBOL Programming 6
No new posts COBOL Text Adventure Engine for TK4- ... COBOL Programming 0
Search our Forums:


Back to Top