Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
COBOL - JSON GENERATE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: COBOL - JSON GENERATE
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

Senior Member


Joined: 14 Mar 2007
Posts: 10521
Location: italy

PostPosted: Sat Aug 18, 2018 2:26 pm    Post subject: Reply to: COBOL - JSON GENERATE
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to use RDZ for converting cobol c... balajiChid CICS 1 Tue Oct 09, 2018 8:40 pm
No new posts Generate SQL query dynamically using ... vnktrrd DB2 7 Tue Aug 28, 2018 8:11 pm
No new posts Generate and submit JCL and step dyna... vnktrrd DFSORT/ICETOOL 11 Wed Jul 25, 2018 11:31 pm
No new posts SQL IN predicate using COBOL table jerryte DB2 16 Fri Jun 29, 2018 10:30 pm
No new posts Converting SAS code to Cobol or Easyt... Ashish.Raghav All Other Mainframe Topics 6 Fri Jun 29, 2018 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us