|
Problem since moving to V5R3
I have a flat file that is received each week via ftp with a get xxx (replace
from a unix server. The file NACMNOC on the i5 has a single field, ccsid = 500.
CPYFRMIMPF FROMFILE(NACMNOC) TOFILE(NACM400) +
MBROPT(*REPLACE) RCDDLM(*ALL) +
DTAFMT(*DLM) STRDLM('"') FLDDLM(',') +
RPLNULLVAL(*FLDDFT)
File NACM400 fields are all ccsid = 37
Everything is converting fine except 1 character.
The from file has a a hex BB (looks like a right bracket).
After cpyfrmimpf that character becomes a hex 4F (|).
My pgm looks for the hex BB to separate parts of the data.
Worked fine on prev system at V4R5.
Anything I can do besides recode the rpg?
jim franz
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.