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



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.

 

 


                                                     


---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears
_______________________________________________
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.

The above information is confidential to the addressee and may be privileged.  
Unauthorised access and use is prohibited.

Internet communications are not secure and therefore this Company does not 
accept legal responsibility for the contents of this message.

If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.

Hogg Robinson plc
Registered Office: Abbey House, 282 Farnborough Road, Farnborough,Hampshire 
GU14 7NJ
Registered in England and Wales No 2107443

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.