HP3000-L Archives

January 2003, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Patrick Thrapp <[log in to unmask]>
Reply To:
Patrick Thrapp <[log in to unmask]>
Date:
Mon, 27 Jan 2003 12:31:59 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (51 lines)
 Being somewhat of an RPG user I suspect your F-specs for the PCMASTER file
is in error

  FPCMASTERIC  F       nnnnRllAM      DISC
  F                                          KIMAGE dbnameL7
  F                                          KITEM  item
  F                                          KLEVEL password
  F                                          KDSNAMEPCMASTER

The spacing here is not correct for a cut 'n paste for RPG, but it will
suffice for this.  The nnnn is the record length.  The ll is the key length.
The rest is fairly straight forward.  The KIMAGE line might be where your
problem is.  The L is Read/Write shared mode with dynamic locking.  The next
digit, a 7 in this case, is the mode one would pass to a DBGET/DBFIND.  (7
does just a DBGET) Under this definition a program may read records.  To do
writes I would us a 97 in place of L7.  The 9 does dataset locking.  Our
shop/software uses a 2nd opn of the DB under a different control block for
updating the base.  For reading the KIMAGE would have one name.  For writing
the KIMAGE would have a different name.  You can use file equations outside
the program to point both KIMAGE names to the same physical db.

Hope this helps.  See pages 4-34 & 4-35 in RPG manuals.  Mine are a tad old
so pages may not be exact in your manual.  If you have one.  If it is online
look for the string 'Calculated Read'.


"Vamsi Sudha" <[log in to unmask]> wrote in message
news:3e3534ae$1@skycache-news.fidnet.com...
> Hi All,
>
> When I try chaining a Dataset( PCMASTER ) of Manual Database, I see the
> following error.
>
> ATAL FILE ERROR, FILENAME = PCMASTER
>   IMAGE FILE STATUS = -21
>   SPECIFIED INTRINSIC CANNOT ACCESS THE DATA SET
>  ACTION WAS 5 = IMMEDIATE TERMINATION WITH DUMP
>
> Can anyone throw some light on the same....
>
> Thanks & Regards,
> Vamsi Sudha.
> Phone:   +91-120-2531622-25   Ext. 253
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2