|
Create a logical over it with appropriate substrings, maybe, although there'd still be a problem with packed fields. And use FTP instead of CPYTO* to PUT the LF to the IFS. But the from file in CPYTOIMPF can be an LF. Again, if there is packed data, you are toast. You could to write a UDF to convert a byte string into its numeric value and use a view. Wouldn't that be a kick - CPYTOIMPF from an SQL view? Or even FTP a view? -------------- Original message -------------- > And if it's a one big character field file (internally defined?), like > stated, how would anything unpack that information? > > Rob Berendt > -- > Group Dekko Services, LLC > Dept 01.073 > PO Box 2000 > Dock 108 > 6928N 400E > Kendallville, IN 46755 > http://www.dekko.com > > > > > > vhamberg@xxxxxxxxxxx > Sent by: midrange-l-bounces@xxxxxxxxxxxx > 10/07/2005 02:32 PM > Please respond to > Midrange Systems Technical Discussion > > > To > Midrange Systems Technical Discussion > cc > > Fax to > > Subject > Re: Create Text File In IFS > > > > > > > CPYTOSTMF does not work effectively if there are packed fields. > > -------------- Original message -------------- > > > CPYTOSTMF is preferred over CPYTOIMPF. Especially with a single field > > file. And avoids most of the V5R3 aggravation of CPYTOIMPF. > > > > Rob Berendt > > -- > > Group Dekko Services, LLC > > Dept 01.073 > > PO Box 2000 > > Dock 108 > > 6928N 400E > > Kendallville, IN 46755 > > http://www.dekko.com > > > > > > > > > > > > "Bob O." > > Sent by: midrange-l-bounces@xxxxxxxxxxxx > > 10/07/2005 11:03 AM > > Please respond to > > Midrange Systems Technical Discussion > > > > > > To > > midrange-l@xxxxxxxxxxxx > > cc > > > > Fax to > > > > Subject > > Create Text File In IFS > > > > > > > > > > > > > > I need to do the simple task of copying a physical file into a text > > file > > in an IFS folder. What command(s) are needed? > > > > Physical file = PDFRGSTR (single field 107 characters long) > > > > is copied to > > > > flow.txt > > > > > > Thanks in advance. > > -- > > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > > list > > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > > or email: MIDRANGE-L-request@xxxxxxxxxxxx > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/midrange-l. > > > > > > -- > > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list > > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > > To subscribe, unsubscribe, or change list options, > > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > > or email: MIDRANGE-L-request@xxxxxxxxxxxx > > Before posting, please take a moment to review the archives > > at http://archive.midrange.com/midrange-l. > > > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > > > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request@xxxxxxxxxxxx > 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.