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



I found this in CL manual for 7.2 for CPYF

CREATE FILE (CRTFILE)

<QUOTE>
If the from-file is an SQL table, view, or index, that contains a user defined type, datalink, LOB field type, or XML field type, the physical file created will be an SQL table. In all other instances the to-file created will be a database physical file that is not an SQL table.
</QUOTE>


Our file has timestamps, a date, and a time field and various packed and alpha fields. But none of these should cause the file to be SQL. Or would it?
Anyone have an idea?

=====

Paul


On 2018-03-01 17:31, Dan wrote:

On Thu, Mar 1, 2018 at 2:01 PM, Paul Therrien <
paultherrien@xxxxxxxxxxxxxxxxxx> wrote:

We are on V7R2 and when we execute a CPYF on an SQL table to create a new
table we get an SQL table:

Can you show me how you executed your CPYF?

2 > CHGPF FILE(DAN/AAA) MAXMBRS(2)
Maximum-member value not valid for file AAA. <CPD3213>
File AAA in DAN not changed.
2 > CPYF FROMFILE(DAN/AAA) TOFILE(DAN/ZZZ) MBROPT(*REPLACE) CRTFILE(*YES)
Physical file ZZZ created in library DAN.
Member AAA added to file ZZZ in DAN.
179191 records copied from member AAA.
2 > CHGPF FILE(DAN/ZZZ) MAXMBRS(*NOMAX)
File ZZZ in library DAN changed.
2 > CPYF FROMFILE(DAN/AAA) TOFILE(DAN/ZZZ) TOMBR(MEMBER2) MBROPT(*REPLACE)
Member MEMBER2 added to file ZZZ in DAN.
179191 records copied from member AAA.
2 > CPYF FROMFILE(DAN/AAA) TOFILE(DAN/ZZZ) TOMBR(MEMBER3) MBROPT(*REPLACE)
Member MEMBER3 added to file ZZZ in DAN.
179191 records copied from member AAA.

- Dan

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.