.*--------------------------------------------------------------------- .* .* CRTPNLGRP PNLGRP(QGPL/F_TO_STMF) .* SRCFILE(*LIBL/QPNLSRC) REPLACE(*YES) .* .*--------------------------------------------------------------------- :PNLGRP. .*--------------------------------------------------------------------- :HELP NAME='FTOSTMF'.CPY a db file to a STMF :P.This command copies the data of a database file to an IFS stream file while optionally converting the data to a different CCSID (example: an ASCII CCSID, so that the data can be understood by another operating system, like Windows). :NT. If the job CCSID is 65535, the job CCSID is changed to the job default CCSID in order to support data conversion. The original job CCSID is restored at the end of the process. :ENT. :EHELP. .*--------------------------------------------------------------------- :HELP NAME='FTOSTMF/FROMFILE'.CPY a db file to a STMF :P.:HP2.From file (FROMFILE):EHP2. - Specifies the qualified name of the database file that is copied to the stream file. :EHELP. .*--------------------------------------------------------------------- :HELP NAME='FTOSTMF/MBR'.CPY a db file to a STMF :P.:HP2.File member (MBR):EHP2. - Specifies the name of the file member that is copied to the stream file. :EHELP. .*--------------------------------------------------------------------- :HELP NAME='FTOSTMF/TOSTMF'.CPY a db file to a STMF :P.:HP2.To stream file (TOSTMF):EHP2. - Specifies the path name of the stream file to which data is copied. All directories in the path name must exist. New directories are not created. If the stream file already exist, it is deleted and replaced by a new stream file. :EHELP. .*--------------------------------------------------------------------- :HELP NAME='FTOSTMF/DTAFMT'.CPY a db file to a STMF :P.:HP2.Data format (DTAFMT):EHP2. - Specifies the format of the data in the file to be copied. :UL. :LI.:HP1.*BINARY:EHP1. - The file contains data in binary format (such as an executable file). In this case TOCCSID(*DFT) is forced. :LI.:HP1.*TEXT:EHP1. - The file contains data in textual form. Data are converted to the CCSID specified in parameter TOCCSID. Carriage-return followed by line-feed is appended to the end of each line. :EUL. :EHELP. .*--------------------------------------------------------------------- :HELP NAME='FTOSTMF/TOCCSID'.CPY a db file to a STMF :P.:HP2.Stream file CCSID (TOCCSID):EHP2. - Specifies the CCSID for the target of the copy operation: :UL. :LI.:HP1.*STDASCII:EHP1. - Compute a CCSID in the IBM PC Data encoding scheme (x2100), based on the source file's CCSID. :LI.:HP1.*PCASCII:EHP1. - Compute a CCSID in the Microsoft Windows encoding scheme (x4105), based on the source file's CCSID. :LI.:HP1.*DFT:EHP1. - The CCSID from the default job CCSID is used. :LI.:HP1.*NUMBER:EHP1. - Specify a CCSID value (1-65563). :EUL. :EHELP. .*--------------------------------------------------------------------- :HELP NAME='FTOSTMF/DSPSTMF'.CPY a db file to a STMF :P.:HP2.Display stream file (DSPSTMF):EHP2. - If an interactive job, type DSPSTMF(*YES) to display the stream file at the end of the process. :EHELP. .*--------------------------------------------------------------------- :EPNLGRP.