Thad Rizzi
2008-10-28 17:52:44 UTC
I've created a query that builds a file that I use a CPYTOIMPF to get
onto the IFS as a text file. The problem is that when I look at the
file on the IFS some of the fields come across as hex. I've noticed
that all of these fields are result fields I built inside the query.
When I do a DSPFFD on the file created by the query I noticed that my
result fields have a specified CCSID of 65535 instead of 37 which all
of the other fields have. That explains the problem but isn't there
some way to change this inside the query? I'd like all fields to have
CCSID of 37 so that they are viewable after the CPYFRMIMPF.
Looks like my only other otion is to copy the query file to a file
that has all fields with CCSID of 37 but it seems like there should be
an easier work around.
Thanks,
Thad Rizzi
onto the IFS as a text file. The problem is that when I look at the
file on the IFS some of the fields come across as hex. I've noticed
that all of these fields are result fields I built inside the query.
When I do a DSPFFD on the file created by the query I noticed that my
result fields have a specified CCSID of 65535 instead of 37 which all
of the other fields have. That explains the problem but isn't there
some way to change this inside the query? I'd like all fields to have
CCSID of 37 so that they are viewable after the CPYFRMIMPF.
Looks like my only other otion is to copy the query file to a file
that has all fields with CCSID of 37 but it seems like there should be
an easier work around.
Thanks,
Thad Rizzi