× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Hello,
I searched the archive but did not find an answer, so I thought I would
email you.


Problem:
      Stream file is wrapping to 80 characters when put on my IFS
directory.



Code



              CRTPF      FILE(QTEMP/ORDRSP) RCDLEN(16365) +
                           SIZE(*NOMAX)
              monmsg cpf0000
 /*  Copy files to ifs directory */
              CPYTOIMPF  FROMFILE(RNETDATA/RORDRSP) +
                           TOFILE(QTEMP/ORDRSP) MBROPT(*REPLACE) +
                           RCDDLM(|) DTAFMT(*DLM) STRDLM(*NONE) +
                           FLDDLM(',')

              CPYTOSTMF  +
                           FROMMBR('/qsys.lib/qtemp.lib/ordrsp.fil+
                           e/ordrsp.mbr') +
                           TOSTMF('/rnet/ordrsp.txt') +
                           STMFOPT(*REPLACE) STMFCODPAG(*STDASCII)




Print screen of IFS directory and file


 Browse : /rnet/ordrsp.txt
 Record . :       1 of     205 by  14            Column:    1 of   80 by
79
 Control  :
....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....

 ************Beginning of data**************
RECORD,025670420060929
                           ,20060929     ,
                                                              ,
,
                           ,                         ,
    ,                              ,               ,               ,
   ,               ,                                                  ,
      ,                              ,                              ,
                   ,                                   ,               ,
                      ,         ,
                                                     ,
                                                                          ,
                         ,
                                              ,
,
                            ,                              ,     ,
,





The file in QTEMP is one row of 16365 comma and end character.  The file on
the IFS directory contains the correct fields, field separators and the end
of record character but is wrapped to 80 positions.   It should be in one
row of 16365 positions.  What parameter have I missed to get this record
into one row in the IFS directory.


Kind regards,
Connie





Connie E. Wiggins
connie.wiggins@xxxxxxxxxxx
Office   1-251-443-2387
Cell       1-251-214-6126
Fax       1-251-443-4017


Kind regards,
Connie





Connie E. Wiggins
connie.wiggins@xxxxxxxxxxx
Office   1-251-443-2387
Cell       1-251-214-6126
Fax       1-251-443-4017


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.