[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] CCSID 1208 & yajl_ saveBuf()



How are you calling yajl_saveBuff - show the call. And if you use a variable to hold the file name, show the variable definition. Spaces at the end of file names are significant.

On Thu, 2020-03-05 at 10:57 +1100, Amit Sharma wrote:
Hi Scott,

Just now read your message on the searchable archive. For some bizarre reason, my email delivery was turned off on your website. 

The file created on IFS is not being read by JAVA program and I thought the reason would be that the file's CCSID which is 1208. The java program can read the file if it was created on a windows machine. 

Thus I mention both CCSID and yajl_saveBuf(). 

In QSH when I tried the following :-

1) On the file generated by yajl_saveBuf()

ls -ls /path/Userinfo_04032020.json     
                                                                         
ls: 001-2113 Error found getting information for object path/Userinfo_04032020.json. No such path or directory. 

2) On the file generated by yajl_saveBuf()

ls -ls /path/Userinfo_04032020_ORGINAL.json     
                                                                   
                   8 -rwxrwxrwx  1 MYNAME  0                  1587 Mar  4 16:11 /path/Userinfo_04032020_ORGINAL.json


Maybe, now I am able to explain the problem?

Many Thanks,




On Thu, Mar 5, 2020 at 7:20 AM Amit Sharma <sharma.amit0904@xxxxxxxxx> wrote:
Hi All,

I am using yajl_savebuf() to generate a json file on IFS. 

This file is suppose to be read by a java program but the jar is giving an error that file not found. We tried qsh command interactively to locate the file and got no success.

I found that CCSID-1208 is hard coded in yajl for yajl_saveBuf.

Does anyone have idea how can I circumvent this issue ?


Many Thanks,
Amit



  Kevin  Bucknum
                   Senior Programmer Analyst
                   MEDDATA / MEDTRON
                   120 Innwood Drive
                   Covington LA 70433
                   Local: 985-893-2550
                   Toll Free: 877-893-2550
                 https://www.medtronsoftware.com



CONFIDENTIALITY NOTICE

This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged.  This information is intended only for the use of the individual or entity named above.  The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled.  If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED.  If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.

-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi