mme gefsye zero 0,ARGLIST zero 30,0
This version of MME GEFSYE sets things up so that the next read on the given file code will be from the original instead of the duplicate. If one copy is marked defective and the other is not, the non-defective one is considered to be the original.
The argument list indicated by ARGLIST takes the form
zero RETURN_WORD,FC zero 2,0where
Bit 0 -- 1 to indicate completion 1-11 -- octal error code, or 0 for success 18-35 -- pointer to additional error info (if any)See "expl mme gefsye" for a list of common error codes. In addition to the common error codes, you might see
65 -- page currently busy 66 -- file not duplicated
Even if a file is sequential, random access is provided to the duplicate. Thus, when reading from the duplicate, a program must calculate initial and subsequent seek addresses, rather than relying on knowing the current position in the file and using IOS-provided seek addresses for "get next" or skip forward and backward commands.
In addition, if the file is sequential, the current position in the original file is not affected by reading from the duplicate. Therefore, when you return to the original (via MME GEFSYE (30)(3)), the file will have the position that was achieved prior to the switch.
Copyright © 2000, Thinkage Ltd.