The help on VCATALOG only seems to imply that it returns "verifies" or "does not verify". How does that tell me if it was catalogued at all, cataloged locally, normally, or globally ?
-----Original Message----- From: Glenn Sallis <[email protected]> To: U2 Users List <[email protected]> Sent: Wed, Sep 7, 2011 4:02 pm Subject: Re: [U2] Catalog In Place Hi Will, Everything is possible! Your friend in this case is the VCATALOG (verify catalog) command. If you want to do it all in one routine, execute the VCATALOG command rom your program, capture and do a check on the output which should ndicate how the program was cataloged.Then you could do a CASE tatement to choose how you want to catalog it this time depending on our specific criteria. Be careful though, I don't know how complex your application is, so you ay be playing with fire. You don't want to get into a situation where ifferent accounts are using different versions of object code and your rograms get out of sync. My advice, make sure you catalog correctly the first time! Grüße lenn Am 08.09.2011 00:24, schrieb Wjhonson: Task: Write a BASIC helper program that will, figure out whether or not this outine was previously catalogued locally, normally or globally and then, utomatically, after executing a BASIC on it, execute the appropriate CATALOG on t as well. Possible? Useful? _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ 2-Users mailing list [email protected] ttp://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list [email protected] http://listserver.u2ug.org/mailman/listinfo/u2-users
