|
One approach is to make a "templates" directory with files in the various codepages you need to support. Your production job would then CPY the template file to your destination directory (you can name the destination file here is you wish). For NT, you'd probably want CP 1252. Eric DeLong Sally Beauty Company MIS-Project Manager (BSG) 940-898-7863 or ext. 1863 > -----Original Message----- > From: William A.(Tony) Corbett [mailto:corbett@ASRESOURCES.COM] > Sent: Monday, September 23, 2002 2:58 PM > To: MIDRANGE-L@midrange. com > Subject: CpyToImpf > > > Help... > I'm trying to use cpytoimpf on a V4R4 system to copy to a Win > Nt server via > QNTC...doesn't have CCSID parameter. This app has to copy a > file to an NT > (not integrated NT) folder on the network, for import into a > PC program > running on the network. If I create the file on the PC and > use cpytoimpf to > copy data into it, it works fine. However, I'm not going to > be able to do > this. When the import procedure runs on the PC, the file is moved to > another directory, plus the fact that I need to use the > timestamp as part of > the pc file name, so that multiple versions can exist in the > network folder. > When I run the cpytoimpf without a file on the PC, it appears > to run ok, but > gives an error saying "0 records copied". > > Two questions: Any suggestions on how to get around this? > If I were able to specify the CCSID, which > would I use? > > AS/Resources, Inc. > William A.(Tony) Corbett > IBM Certified Specialist - AS/400 Developer > http://www.asresources.com > corbett@asresources.com > 770-587-4812 (office) > 678-935-5006 (mobile) > fax: 404-663-4737 > > > > _______________________________________________ > This is the Midrange Systems Technical Discussion > (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > >
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.