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



Thanks Rick,

Could you give me the whole statement, "with column defaults" doesn't seem to be the right syntaxe.

-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Rick.Chevalier@xxxxxxxxxxxxxxx
Envoyé : jeudi 13 décembre 2007 16:30
À : midrange-l@xxxxxxxxxxxx
Objet : RE: creating a table like a PF with the same record level id


David,

Try adding 'with column defaults' to the end of your create statement.

Rick

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: Thursday, December 13, 2007 9:14 AM
To: Midrange Systems Technical Discussion
Subject: creating a table like a PF with the same record level id

Hi all,


I have, in the past, created an SQL table from a physical file with :

CREATE TABLE FORMATNAME AS ( SELECT * FROM FILENAME) WITH NO DATA

Then, RENAME TABLE FORMATNAME TO FILENAME so as to get the same record level identifier.


This time I'm not getting the same record level identifier as the original PF.

There are no keys on the PF

I've also tried CREATE TABLE FORMATNAME LIKE etc,

Now I have my original PF and 2 SQL tables each with a different record level identifier.

If I run a DSPFFD, I see that a date zone has the format *ISO in the SQL tables. In the original PF, it is *EUR.

One of the tables has default value information.

How can I get the right record level identifier ?
How can I get the right date format?
--
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.



Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.

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



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.