Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (G-N)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
6-38
MOVEX
Moves data between extended data segments without the need for absolute addressing; it
serves both privileged and nonprivileged users.
MYGMOM
(Superseded by PROCESS_GETINFO_ and PROCESS_GETINFOLIST_) Gives a
process that is a member of a batch job the process-ID of its job ancestor (GMOM).
error := MOVEX ( [ source-seg-id ]
,source
,[ dest-seg-id ]
,dest
,byte-count );
error, INT returned value
0 Successful call; the specified data was moved.
2 Either source-seg-id or dest-seg-id specified a nonexistent extended data
segment, or the destination data segment has read-only access.
22 One of the parameters specifies an address that is out of bounds.
24 Either source-seg-id or dest-seg-id specified a privileged segment ID
(greater than 2047), but the caller was not privileged.
29 A required parameter is not supplied.
source-seg-id, INT:value input
source, STRING .EXT:ref input
dest-seg-id, INT:value input
dest, STRING .EXT:ref input
byte-count, INT (32):value input
= (CCE) The specified data was moved; error contains 0.
> (CCG) An error occurred; error contains the error value.
CALL MYGMOM ( process-id );
process-id, INT:ref:4 output