Search found 3 matches

by jlrengel
Fri Dec 13, 2024 8:48 pm
Forum: YAJL-ILE
Topic: YAJL_SAVEBUF Question
Replies: 5
Views: 43100

Re: YAJL_SAVEBUF Question

Hi Scott, thomprl

Thanks for your answers. Sorry for the delay to update you guys.

I did on the same day (Nov/13) the changes as you can see below and everything worked well. We are able to open the JSON files in the IFS location.

Dcl-S S_Dest VarChar(70) Inz;
YAJL_SAVEBUF(%TRIM(S_DEST) : S ...
by jlrengel
Thu Nov 14, 2024 12:01 am
Forum: YAJL-ILE
Topic: YAJL_SAVEBUF Question
Replies: 5
Views: 43100

Re: YAJL_SAVEBUF Question

Hi Scott,

S_Dest is defined as you can see below
Dcl-S S_Dest Char(70) Inz;

RTR_DEALER_DLR_JTDBCMFE0R3039774.json exists in /home/SAPINT. No extra blanks in the filename and no other unexpected character.

Thanks,

Jorge Rengel
by jlrengel
Wed Nov 13, 2024 10:43 pm
Forum: YAJL-ILE
Topic: YAJL_SAVEBUF Question
Replies: 5
Views: 43100

YAJL_SAVEBUF Question

Hello Scott,

I am copying two JSONs to the IFS as follows:

S_Dest = '/HOME/SAPINT/' + PMINTT + '_' + %TRIM(PMEVNT) + '_' + PMVIN
+ '.json';
1) YAJL_SAVEBUF('/TMP/SVSSAPINT.JSON':S_ERRMSG);
2) YAJL_SAVEBUF(S_DEST : S_ERRMSG);
In the 2) I am concatenating the name of the json to save in a ...