× 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.



And read the manual!

Regards

Andy 

-----Original Message-----
From: Emmanuel Zannis [mailto:emmanuel.zannis@xxxxxxxxxxx] 
Sent: 31 October 2003 11:52
To: Midrange Systems Technical Discussion
Subject: RE: How do i select few fields in this file

Try Cpyf fmtopT(*MAP *DROP)

-----Original Message-----
From: murali dhar [mailto:hydchap1@xxxxxxxxx]
Sent: 31 October 2003 11:33 AM
To: Midrange Systems Technical Discussion
Subject: How do i select few fields in this file



Hi all,

My cl program is as follows :

PGM

YCTAC200C  REQSFILE(REQS) POSFILE(POSF1) 
             OUTFILE(JAC200)                  

ENDPGM

JAC200 file (with 12 fields)  like as follows

 FIRM  OFF  ACC   ACCT  CLS  SUB  SLSMN  EQT  EQTY   IM  EQTY  EXCH  
 ------    -----   ------    -------    -----    -----   ------
-----
------      ----    ----    --------

Is there anyway I can copy this file(JAC200) into another file JAC2001
with
only 4 fields?....does copy file command allows me to pick up only 4
fields
from JAC200 to JAC201..I ve to include this copy file command to create
JAC201 with 4 fields  only after the creation of the file JAC200 ..can
some
one help me with ideas?

JAC201 should look like  

FIRM                 OFF                   ACC                 IM

 

Thanks in advance for ur help,

Murali.--------------------------------------------------------
 
FormaServe Systems Ltd 
91 Redland Drive 
Loughton 
Milton Keynes 
Bucks  UK 
MK5 8FL 
 
T: +44 (0)1908 609500 
W:www.FormaServe.Co.Uk 
    www.iSeriesTraining.Co.Uk 
E: Info@xxxxxxxxxxxxxxxx 
--------------------------------------------------------
 
 
This message (and any associated files) is intended only for the use of 
midrange-l@xxxxxxxxxxxx and may contain information that is confidential, 
subject to copyright or constitutes a trade secret.  
If you are not midrange-l@xxxxxxxxxxxx you are hereby notified that any 
dissemination, copying or distribution of this message, or files associated 
with this message, is strictly prohibited.  
If you have received this message in error, please notify us immediately by 
replying to the message and deleting it from your computer.  
Messages sent to and from us may be monitored.  
Any views or opinions presented are solely those of Andy Youens and do not 
necessarily represent those of FormaServe Systems. 
 
 
 
 
 
 
 
--------------------------------------------------------
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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.