If someone knows of a way I would be interested in hearing it. It appears that it's trying to CATALOG the file but the 'COMMAND LINE PARSING ERROR' usually indicates the syntax is incorrect I though.
> Date: Thu, 19 Aug 2010 14:57:44 +0100 > From: ebr...@civica.co.uk > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build? > > Oh, sorry. Those are unidata commands. But I believe universe has > phantoms that are launched in much the same way... > > Ed > > -----Original Message----- > From: u2-users-boun...@listserver.u2ug.org > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris Austin > Sent: 19 August 2010 14:56 > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build? > > > Ed, > > I tried both with no luck. Here was my output: > > C:\CHRIS>UDT CATALOG LFUTILS TEST_HARNESS5 > 'UDT' is not recognized as an internal or external command, > operable program or batch file. > > C:\CHRIS>PHANTOM CATALOG LFUTILS TEST_HARNESS5 > 'PHANTOM' is not recognized as an internal or external command, > operable program or batch file. > > I didn't see the program UDT.exe or PHANTOM.exe in the IBM/UV/bin dir > > > > > Date: Thu, 19 Aug 2010 14:42:00 +0100 > > From: ebr...@civica.co.uk > > To: u2-users@listserver.u2ug.org > > Subject: Re: [U2] easiest way to COMPILE/CATALOG for a build? > > > > Can't you just do > > > > C:\CHRIS>udt CATALOG LFUTILS TEST_HARNESS5 > > > > Or use phantom instead of udt... > > > > Ed > > > > > > -----Original Message----- > > From: u2-users-boun...@listserver.u2ug.org > > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris > Austin > > Sent: 19 August 2010 14:37 > > To: u2-users@listserver.u2ug.org > > 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: robert.hou...@fwic.net > > > To: u2-users@listserver.u2ug.org > > > 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: u2-users-boun...@listserver.u2ug.org > > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris > Austin > > > Sent: Wednesday, August 18, 2010 2:21 PM > > > To: u2-users@listserver.u2ug.org > > > 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: robert.hou...@fwic.net > > > > To: u2-users@listserver.u2ug.org > > > > 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: u2-users-boun...@listserver.u2ug.org > > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris > Austin > > > > Sent: Wednesday, August 18, 2010 2:00 PM > > > > To: u2-users@listserver.u2ug.org > > > > 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: d.hender...@moreheadstate.edu > > > > > To: u2-users@listserver.u2ug.org > > > > > 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: u2-users-boun...@listserver.u2ug.org > > [mailto:u2-users-boun...@listserver.u2ug.org] 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: u2-users-boun...@listserver.u2ug.org > > [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Chris > Austin > > > > > Sent: Wednesday, August 18, 2010 4:19 PM > > > > > To: u2-users@listserver.u2ug.org > > > > > 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 > > > > > U2-Users@listserver.u2ug.org > > > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > > _______________________________________________ > > > > > U2-Users mailing list > > > > > U2-Users@listserver.u2ug.org > > > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > > _______________________________________________ > > > > > U2-Users mailing list > > > > > U2-Users@listserver.u2ug.org > > > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > > > > > _______________________________________________ > > > > U2-Users mailing list > > > > U2-Users@listserver.u2ug.org > > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > _______________________________________________ > > > > U2-Users mailing list > > > > U2-Users@listserver.u2ug.org > > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > > > _______________________________________________ > > > U2-Users mailing list > > > U2-Users@listserver.u2ug.org > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > _______________________________________________ > > > U2-Users mailing list > > > U2-Users@listserver.u2ug.org > > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > > > _______________________________________________ > > U2-Users mailing list > > U2-Users@listserver.u2ug.org > > 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 > > U2-Users@listserver.u2ug.org > > http://listserver.u2ug.org/mailman/listinfo/u2-users > > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > _______________________________________________ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users