Can't you just do

C:\CHRIS>udt CATALOG LFUTILS TEST_HARNESS5

Or use phantom instead of udt...

Ed


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Austin
Sent: 19 August 2010 14:37
To: [email protected]
Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build?


I'm attempting to CATALOG from the CMD line and I get stuck on an error:

C:\CHRIS>CATALOG LFUTILS TEST_HARNESS5
CATALOG command line parsing error.

is this telling me that I physically cannot CATALOG a universe program
from CMD line in windows?



> From: [email protected]
> To: [email protected]
> Date: Wed, 18 Aug 2010 14:29:48 -0700
> Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build?
> 
> You could probably just do the compile from the folder where your VOC
is. I believe the basic.exe command opens the VOC and uses it to resolve
the reference to the file, so the fact that it is elsewhere should work.
Flying half from memory, so it might not work...
> 
> -----Original Message-----
> From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Austin
> Sent: Wednesday, August 18, 2010 2:21 PM
> To: [email protected]
> Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build?
> 
> 
> Thanks Robert,
> 
> That actually worked. There is one issue however. I had to copy my VOC
into my programing folder for it to work. Our setup is as follows:
> 
> c:\CHRIS        > this is where we keep our DATA tables. (VOC is also
kept here)
> c:\CHRISSYS  > this is where we keep our SOURCE code.
> 
> It would be nice if we could compile without moving the VOC everytime.
I'll be working some more on this.
> 
> Chris
> 
> 
> > From: [email protected]
> > To: [email protected]
> > Date: Wed, 18 Aug 2010 14:01:31 -0700
> > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build?
> >
> > Try running it from the directory where the VOC resides with the
C:\IBM\UV\bin directory added to your path.
> >
> > -----Original Message-----
> > From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Austin
> > Sent: Wednesday, August 18, 2010 2:00 PM
> > To: [email protected]
> > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build?
> >
> >
> > So it seems like it wants to compile it but can't open the VOC. I'm
not sure which VOC it's trying to use (the one c:\Chris
> > or the one in c:\IBM\uv\bin). This is what I get from the command
line>
> >
> > C:\IBM\UV\bin>BASIC C:\CHRISSYS\LFUTILS TEST_HARNESS5
> > Unable to open 'VOC' file
> >
> > I have made sure that in the folder security settings that I have
full rights to the IBM/*.* and CHRIS/*.* folders.
> >
> > Any ideas why it would be unable to open the VOC?
> >
> >
> > * on a side note to Doug, we want to keep the compiling very simple
without many java scripts. Currently we're using a java
> > script but we want to do it on a command line level IF possible.
> >
> >
> >
> > > From: [email protected]
> > > To: [email protected]
> > > Date: Wed, 18 Aug 2010 16:45:32 -0400
> > > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build?
> > >
> > > ...should have clarified that the below command is executed at the
OS command prompt.
> > >
> > > -----Original Message-----
> > > From: [email protected]
[mailto:[email protected]] On Behalf Of Drew William
Henderson
> > > Sent: Wednesday, August 18, 2010 4:43 PM
> > > To: U2 Users List
> > > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build?
> > >
> > > Chris,
> > >
> > > Are you on Windows or Unix/Linux?
> > >
> > > On the ?nix version, you can execute uv/bin program "basic" to
compile your programs (and assume you can catalog, as well, but never
tried it.)  Assuming uv/bin is in your PATH, if the folder/directory is
SOURCE, and you want to compile the file PROG1, you can use the
following command:
> > >
> > > basic SOURCE PROG1
> > >
> > > Wildcarding may be a problem, but can put multiple files on the
command line.  Of course, you could write a quick script to do all this
for you, as well.
> > >
> > > (DISCLAIMER: We're running 10.2 on Linux, and the above worked....
your mileage may vary! :-)  )
> > >
> > > If you're running Universe on Windows, I can't speak to that!
> > >
> > > HTH
> > > Drew
> > >
> > > -----Original Message-----
> > > From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Austin
> > > Sent: Wednesday, August 18, 2010 4:19 PM
> > > To: [email protected]
> > > Subject: [U2] easiest way to COMPILE/CATALOG for a build?
> > >
> > >
> > > Hello,
> > >
> > > We just recently changed our entire repository from Source Safe to
SVN and we're now using
> > > hudson to automate our builds. This works great for Java since we
can simply compile ALL
> > > the programs using the JAVA compiler in a batch file.
> > >
> > > Universe however seems to require us sign into a Universe account
and then compile/catalog
> > > all our programs. Is there a way you can compile all programs in a
folder from a batch file?
> > > We need to do the same to CATALOG all our programs.
> > >
> > > Here's why:
> > >
> > > We submit all of our changes to 1 central SVN repository, when we
want to 'release' the object code
> > > to the production server it runs on a different UniVerse region
and totally different server, so we
> > > have the need to compile all the programs at once in the build,
then CATALOG all of the programs
> > > to the production universe region.
> > >
> > > Is there an easy way to do this?
> > >
> > > Right now we have a batch file that logins into our Java webapp,
then it logs into universe from
> > > the webapp so that it can compile/catalog but there has to be an
easier way.
> > >
> > >
> > >
> > > _______________________________________________
> > > U2-Users mailing list
> > > [email protected]
> > > http://listserver.u2ug.org/mailman/listinfo/u2-users
> > > _______________________________________________
> > > U2-Users mailing list
> > > [email protected]
> > > http://listserver.u2ug.org/mailman/listinfo/u2-users
> > > _______________________________________________
> > > U2-Users mailing list
> > > [email protected]
> > > http://listserver.u2ug.org/mailman/listinfo/u2-users
> >
> > _______________________________________________
> > U2-Users mailing list
> > [email protected]
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> > _______________________________________________
> > U2-Users mailing list
> > [email protected]
> > http://listserver.u2ug.org/mailman/listinfo/u2-users
> 
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
                                          
_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

-------------------------------------------------------------------------------------------
This e-mail and any attachment(s), is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the 
addressee, dissemination, copying or use of this e-mail or any of its content 
is prohibited and may be unlawful. If you are not the intended recipient please 
inform the sender immediately and destroy the e-mail, any attachment(s) and any 
copies. All liability for viruses is excluded to the fullest extent permitted 
by law. It is your responsibility to scan or otherwise check this email and any 
attachment(s). Unless otherwise stated (i) views expressed in this message are 
those of the individual sender (ii) no contract may be construed by this 
e-mail. Emails may be monitored and you are taken to consent to this 
monitoring.  

Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 
01628868
Both companies are registered in England and Wales and each has its registered 
office at 2 Burston Road, Putney, London, SW15 6AR.
-------------------------------------------------------------------------------------------

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to