|
To answer my own question: If a logical for a physical file is in use when the CCSID for the physical file is changed, the logical CCSID will not change. When the logical file is not being used and the CCSID for the physical file is changed, the logical CCSID will also change. I had to do this again for another file, and watched the messages. There is a slight difference in the messages given upon changing the CCSID with an in-use logical and without logicals in use, although no message is given to the job log. Regards, Jim Langston > We have an application where all the files are CCSID 65535, meaning no conversion. We > have the files in 2 environments, test and live. I need to be able to open up some > logicals from VA-RPG, so changed the CCSID of one of the physical files in our live > environment to 37, then opened up the logical and got ASCII data. Logical files don't > seem to have a CCSID. All well and good. I then go to open up this same file in the test > environment, and get EBSIDIC data. I checked the CCSID of the physical file and it was > 37, but still I didn't get translation. I wound up having to recompile the logical file, > and then I got ASCII data in VA-RPG, well and good. My question is: Why did I have to > recompile the logical file on one of these, but not the other? I am going to be using a > lot of files in VA-RPG and since all our files are 65535 I'm going to have to change the > CCSID, and I need to understand what is it that makes me have to recompile a logical to > get the logical to be the same CCSID. > > Thanks in advance, > Jim Langston
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.