YAJL_SAVEBUF Question
Posted: Wed Nov 13, 2024 10:43 pm
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 different location /home/sapint/
The first one I can open in Filezilla, but the second one I can't, getting the following error:
Response: 550 Unable to find file /home/SAPINT/RTR_DEALER_DLR_JTDBCMFE0R3039774.json
Error: Critical file transfer error
I have edited the authorization without success.
How I can access?
If I go to WRKLNK and rename the file changing the name even though the same, it woks, I can open in Filezilla.
What makes different to the first one?
Coded character set ID is 1208 for both file.
Any help is appreciated.
Thank you,
Jorge Rengel
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 different location /home/sapint/
The first one I can open in Filezilla, but the second one I can't, getting the following error:
Response: 550 Unable to find file /home/SAPINT/RTR_DEALER_DLR_JTDBCMFE0R3039774.json
Error: Critical file transfer error
I have edited the authorization without success.
How I can access?
If I go to WRKLNK and rename the file changing the name even though the same, it woks, I can open in Filezilla.
What makes different to the first one?
Coded character set ID is 1208 for both file.
Any help is appreciated.
Thank you,
Jorge Rengel