Are you getting any errors???
Ian Collins <[log in to unmask]> on 08/19/98 06:57:06 PM
To: [log in to unmask]
cc: (bcc: Ron Horner/MIS/CorpCtrl/STO)
Subject: Using catalog commands
MPE 5.5
I wrote a small command which is catalogued for my users, as follows,
addcat src
setvar hpautocont true
errclear
if finfo("!src",0) = TRUE then
echo Trying to delete catalog !src
setcatalog !src;delete
errclear
echo Trying to append catalog !src
setcatalog !src;append
errclear
else
echo !src does not exist
endif
echo List of current catalogs follows
echo
showcatalog,mgr
*********************************************************
This command (addcat) works fine when run from the comamnd line.
However, if I put a number of these calls into a command file, as
follows,
addcat file1
addcat file2
addcat file3
Only the first call is ever executed (addcat file1). Why would this be?