Search found 19 matches

by kathan.p@gmail.com
Thu Nov 25, 2021 4:57 pm
Forum: HTTPAPI
Topic: 401 - Bad Request on DELETE
Replies: 2
Views: 20430

401 - Bad Request on DELETE

Hi, Since yesterday suddenly http_string('DELETE') started giving HTTP 401 Bad Request.. HTTP_debug(*on); http_setCCSIDs( 1208: 0 ); HTTP_SetFileCCSID(1208); http_xproc( HTTP_POINT_ADDL_HEADER : %paddr(add_headers) ); server = %trim(pltinturl) + %trim(pltitjobep) + jobid; monitor; response = http_st...
by kathan.p@gmail.com
Wed Sep 29, 2021 6:24 pm
Forum: YAJL-ILE
Topic: Data-Into Issues
Replies: 3
Views: 15191

Re: Data-Into Issues

it worked! Thanks!!

I used YAJLGEN and it showed me exactly what i need. Thanks
by kathan.p@gmail.com
Tue Sep 28, 2021 4:38 pm
Forum: YAJL-ILE
Topic: Data-Into Issues
Replies: 3
Views: 15191

Data-Into Issues

JSON Code - { "trip_id": "16854-210922-47336", "cruise_control_set_speed": 67.7, "odometer": 59409.71, "heading": 1, "hard_brake_pre_wheel_speed": null, "post_event_data": { "logged_at": "2021-09-22T17:03:07.000Z&qu...
by kathan.p@gmail.com
Wed Aug 11, 2021 5:54 pm
Forum: YAJL-ILE
Topic: Consume Dynamic JSON
Replies: 2
Views: 9548

Consume Dynamic JSON

I have an old application in which it is receiving multiple JSON with data elements in it . The only common element in all those JSON is a field name "title" which will give some heading and based on that heading we write different subroutine/procedure to extract the data and as it dynamic...
by kathan.p@gmail.com
Tue Aug 10, 2021 8:06 pm
Forum: YAJL-ILE
Topic: YAJL_BUF_LOAD_TREE Handling Null Values
Replies: 3
Views: 10593

Re: YAJL_BUF_LOAD_TREE Handling Null Values

Found the issue.. Before it actual goes to YAJL_LOAD* , a procedure is called to remove the null that's why it is failing. Fixed it and now it working!!

Thanks!!
by kathan.p@gmail.com
Tue Aug 10, 2021 7:52 pm
Forum: YAJL-ILE
Topic: YAJL_BUF_LOAD_TREE Handling Null Values
Replies: 3
Views: 10593

Re: YAJL_BUF_LOAD_TREE Handling Null Values

It was typing error it is coming with NULL in field.. but when i check in debug mode it showing blanks.. and the it gives me that error
by kathan.p@gmail.com
Tue Aug 10, 2021 7:25 pm
Forum: YAJL-ILE
Topic: YAJL_BUF_LOAD_TREE Handling Null Values
Replies: 3
Views: 10593

YAJL_BUF_LOAD_TREE Handling Null Values

I am reading JSON using YAJL_BUF_LOAD_TREE to load the JSON and then read the data using YALJ_GET_STRING/NUMBER. But when loading the JSON data which is having either NULL/blanks values, it is erroring out with a error message "lexical error: invalid char in json text" {"data":{ ...
by kathan.p@gmail.com
Wed Aug 04, 2021 11:20 pm
Forum: YAJL-ILE
Topic: Reading Json Data using Data-INTO
Replies: 4
Views: 11173

Re: Reading Json Data using Data-INTO

Thank you Scott. it's working now! Little different question related to DS subfields:- "eta": "2021-08-18T11:23:24-07:00" - is there a way i can break the this sub-field into yyyy, mm, dd ? I can do it by moving this DS.eta into another DS and break it down but can i do it here o...
by kathan.p@gmail.com
Wed Aug 04, 2021 7:35 pm
Forum: YAJL-ILE
Topic: Reading Json Data using Data-INTO
Replies: 4
Views: 11173

Reading Json Data using Data-INTO

Issue - I don't get any data in DATA DS other then "title" field (title field is getting populated correctly. Am i missing something?? JSON - { "data": { "instruction2": "FIRST SEAT", "seat1l3": "2356", "reset34": "Yes",...