MacKinney Systems, Inc.

Editor invoked from your application.

Qeditor

LINK returns to beginning of program

Q:

Why does Qedit return back to the beginning of my program rather than the statement following the LINK?


A:

Set QED-PROG to spaces in the commarea of the invoking (user) program.

Maps display in Mod 2, INVMPSIZ when exiting

Q:

Why do my maps only display in Mod 2, and then I receive INVMPSIZ when exiting?


A:

Transactions QEDX & QED$ need the ALTERNTE profile. QED@ uses the default profile.

Protect input records allow new record addition

Q:

Can you protect ALL the incoming records from update but allow adding additional records at the end?


A:

Put "P" in QED-UPDATE-SW (for protect mode).

Protect selected records

Q:

How to you protect selected records from update when invoking Qedit?


A:

  1. Put "R" in QED-UPDATE-SW (for reply mode).
  2. Set QED-VLENG to 1 less than the queue length.
  3. Put an "R" in the last position of each record you wish to protect from update. Since the view-length (as per #2) is 1 less than the LRECL, the user will never see the R's in the last record position.

Q005 EDIT LIMIT (xxxxx) EXCEEDED

Q:

Why do I receive message Q005 EDIT LIMIT (xxxxx) EXCEEDED, but my actual number of records has NOT exceeded number given.


A:

This MAY happen if you are adding records at the end, and all the 'freespace' precedes that. Qedit only looks FORWARD for free space in its table to accept new entries. To prevent this message, set FREESPACE=N (either during installation or in the passed commarea).