Thread: Basic CL program

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    1

    Question Basic CL program

    Does anyone know the following error message when running a CL program.

    Message ID . . . . . . : SQL7008
    Date sent . . . . . . : 15/10/02 Time sent . . . . . . : 10:19:16

    Message . . . : ZPAL01 in DSLIF not valid for operation.

    Cause . . . . . : The reason code is 3:

    Code 3 -- ZPAL01 is not journaled, or you do not have authority to the journal. Files with an RI constraint action of CASCADE, SET NULL, or SET DEFAULT must be journaled to the same journal.

    My CL uses the following SQL Statement anmd I can't see why it needs to have the file ZPA journalled:

    C/EXEC SQL
    C+ UPDATE DSLIF/ZPA SET IDPA = 'NO'
    C+ WHERE PKEY = 'AUTOALBA'
    C/END-EXEC


    Thanks,
    Derryn.

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    What exactly is CL ? It doesn't seem to be Common Language or C#...
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  2. Basic encryption program???
    By Finchie_88 in forum C++ Programming
    Replies: 14
    Last Post: 09-10-2004, 09:01 AM
  3. basic animation program
    By Noobie in forum C++ Programming
    Replies: 16
    Last Post: 02-17-2003, 06:33 PM
  4. IDEA: A basic drawing program
    By ygfperson in forum Contests Board
    Replies: 0
    Last Post: 08-12-2002, 11:15 PM
  5. Replies: 2
    Last Post: 05-10-2002, 04:16 PM