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



Not sure why you think it should create a physical file. All it does
is create a library and puts a journal into it and creates views on
the system metadata so that the library basically looks like a
standard SQL library created on any system.

You can do the same thing manually. It just does all the work for you
automatically and when you create a table, it is automatically
journaled.

On Thu, Jun 7, 2012 at 2:48 PM, John McKee <jmmckee@xxxxxxxxxxxxxx> wrote:
That is interesting.  I did that just to see what was created.   A
journal, a journal receiver, and a bunch of logical files.  But, no
physical files.  DSPDBR doesn't show a physical file.  What is
happening there?

John McKee

On Thu, Jun 7, 2012 at 3:18 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:
Easiest way is to create an SQL library. Do a STRSQL and type a CREATE
COLLECTION and enter a library name. It will create a library with
journal and all SQL objects. Any table that is created in it is
automatically journaled.

On Thu, Jun 7, 2012 at 2:13 PM, Brian Piotrowski
<bpiotrowski@xxxxxxxxxxxxxxx> wrote:
Thanks, everyone.

If journaling needs to be turned on, how do I do it through a create table statement in the interpreter?

Thanks!

/b;

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
Sent: Thursday, June 07, 2012 3:19 PM
To: Midrange Systems Technical Discussion
Subject: Re: CPF4328 When Creating Table in SQL Interpreter

The table must be journaled to write records to it from SQL Server or any PC platform.

On Thu, Jun 7, 2012 at 12:39 PM, Brian Piotrowski <bpiotrowski@xxxxxxxxxxxxxxx> wrote:
Hi All,

I created a table in the SQL Interpreter using this statement:
CREATE TABLE SPSL/PLC_WORK2 (PLANTCODE CHAR ( 1) NOT NULL WITH
DEFAULT, LREFNUM INT NOT NULL WITH DEFAULT, MDLCODE INT NOT NULL WITH
DEFAULT, ACK INT , MTOC CHAR ( 6) NOT NULL WITH DEFAULT)

(As seen above, the "ACK" field is set to null when it is not filled in - this is a requirement from the PLC system).

I received this message back:
Table PLC_WORK2 in SPSL created but was not journaled.

However, now when I try to update the table through another SQL statement (it's actually a scheduled task running on our SQL2008 server) I'm getting a CPF4328 error.

How do I manually update the SQL table so that I can have the SQL statement update the table without it throwing the CPF4328 error?  I know it has something to do with the commitment control being set to *NC, but I don't know how to set it on the created table.

Any ideas?

Thankee-sai!

/b;

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brian Piotrowski
Assistant Mgr. - I.T.
Simcoe Parts Service, Inc.
Ph: 705-435-7814 x343
Fx: 705-435-5029
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
http://www.simcoeparts.com

Please consider the environment. Don't print this e-mail unless you really need to.

The information contained in this communication is confidential and intended only for the use of those to whom it is addressed.  If you have received this communication in error, please notify me by telephone (collect if  necessary) and delete or destroy any copies of it.  Thank you!

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

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

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

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

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