TomLiotta
7355 pts. | Oct 21 2009 6:23PM GMT
Try changing the job as CHGJOB CCSID(37)
Use CCSID(37) for US English as well as various related language settings. To get a more certain value, DSPJOB OPTION( *DFNA ) and scroll down two or three screens to see what ‘Default coded character set identifier’ was chosen for the job. Use that value first. It’s likely that your default is 37.
If that helps, we probably know the things to do next. If it doesn’t help, please describe any differences that you can recognize.
Tom
PaulClemens
25 pts. | Oct 21 2009 7:05PM GMT
Thanks everyone for your help…ultimately I:
1. created the file using DDS on my AS400,
2. added some records to the file
3. downloaded the file to the pc using Client Access
4. I saved the FDF from the download
5. I started Excel and clicked the AS400 file transfer addin
6. I created a transfer to the AS400 using the FDF
7. I transferred the file to the AS400
All fields in the file were available to me.
TomLiotta
7355 pts. | Oct 22 2009 12:51AM GMT
Stay aware that the root problem still exists. This should work without those steps. However, until the system CCSID is set to a useful CCSID value, e.g., 37, translation difficulties will arise at various points.
Your system is configured with QCCSID=65535. You can think of this as something like having all of your FTP transfers done in BINARY mode. CCSID 65535 effectively means “Do not translate/convert”. Setting a standard system CCSID tells the system a lot about how character translation should be done between PCs (or non-PCs) and your system or even between different jobs within your system.
Although you needed to be focused on your current problem, keep in mind that the QCCSID system value ought to be set.. Ideally, plan for it being done, the sooner the better.
Tom
Aceofdelts
385 pts. | Oct 23 2009 9:06PM GMT
We do a few data transfers via add-ins. Loading to a work file is an advisable technique..
You can skip the IFS if you have a good transfer definition. I recently fought with an upload that had similarities to your issue. One step that helped was to create a DDS with the file layout that I wanted. I created a phony record in this file and ran a data transfer to my PC (to a throw-away file with the same name as my (temporarily renamed) real file. This creates the data transfer map. Finally, I uploaded my real file using this map (it is a “.FDF” on the PC).
Note that it’s OK to define alpha fields to a longer length than needed. Can get complications if data is longer than the target field.
Mike






