Question
· Sep 12

SYSTEM OBJ Export

I have a DOS batch file that calls *.scr script to back up an existing routine and upload the newly updated one.

I have a backup folder setup in C:\Users\[username]\Backup\ on each server, some with more recent versions of cache. The *.scr script calls on the command:  $SYSTEM.OBJ.Export(routine,path) . 

The problem is that it works consistently in some servers but not in others. Where it fails, the session unexpectedly terminated. Please note that the command works on the remote server terminal window where the script terminates unexpectedly. Is there a setting I need to change in Management Portal or somewhere else for my cache USER and ROLE under my name in the destination server? Is there another system command, perhaps, I should use that is better than OBJ.Export? If so, I have not found it.

Thank you for your anticipated replies.

Product version: Caché 2013.1
Discussion (0)2
Log in or sign up to continue