mme gesave bci 1,XXXXXX zero BUFLOC,LENGTH zero ENTRY,INCR
Bits 24-35 of the Q register should contain the file code of the save file. This file code can be associated with a tape or with a random disk file.
MME GESAVE writes a new element into a qstar (hstar) file. The data may be retrieved with MME GERSTR or MME GECALL. MME GESAVE does not return to the calling program until the data has actually been written.
You should not copy a save file into a new file of smaller size, then try to save additional data in the new file.
A valid qstar file cannot use more than 52428 llinks due to addressing restrictions. If the qstar file being used is more than 262,143 llinks, MME GESAVE may not even handle the first 52428 llinks properly.
If an error occurs and the Q register supplied a non-zero error return address, the lower half of Q will be set to indicate the error when MME GESAVE returns. The following octal values may appear.
52 I/O limits error on save 53 I/O error save 54 no PAT for CALL/SAVE 55 bad device for CALL/SAVE 56 non-random file 57 save file is full 60 checksum error The qstar file needs to be initialized. 62 LENGTH is zero 115 impermissible permanent file write
Master mode programs must not use MME GESAVE, and MME GESAVE should not be used in a courtesy call.
GCOS will not detect that an element name is not unique. It will simply write out the new element with the same name, and future attempts to retrieve the element with MME GESAVE or MME GERSTR will probably read the wrong element.
Copyright © 2000, Thinkage Ltd.