Re: [U2] execute code/proc question HELP!!!!!!!!

2008-05-26 Thread Keith Johnson (DSLWN)
Assume one has PROGRAM in USUAL.BP. Write NEW.PROGRAM in DOUGS.BP with this at the beginning. 001 SUBROUTINE PROGRAM(V1,V2,V3...) 002 * 003 IF @LOGNAME NE DOUG THEN 004CALL ORIG.PROGRAM(V1,V2,V3...) 005RETURN 006 END 007 * continue with the new program At TCL do these

RE: [U2] execute code/proc question HELP!!!!!!!!

2008-05-23 Thread Colin Alfke
An even easier technique along the same lines is to put code in the subroutine you want to test that calls your new version and then exits out. Eg: SUBROUTINE ORIGINAL(IN,OUT) * do your checks to set test.flag If TEST.FLAG then call NEW.ROUTINE(IN,OUT) return End * normal processing Return

Re: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread Kritan
the original DOUG. When you are done fixing DOUG.DEV, copy it over DOUG in DOUG.BP and recompile. Steve -- From: doug chanco [EMAIL PROTECTED] Sent: Thursday, May 22, 2008 6:20 AM To: u2-users@listserver.u2ug.org Subject: [U2] execute code/proc question HELP

RE: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread Dan Goble
To: u2-users@listserver.u2ug.org Subject: [U2] execute code/proc question HELP is there any way in Universe 10.x (running on AIX) to path how universe finds code to execute? For example I have a program called DOUG in EURO.BP and copy it to DOUG.BP and compile/catalog it there, so

RE: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread Edward Brown
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dan Goble Sent: 22 May 2008 15:31 To: u2-users@listserver.u2ug.org Subject: RE: [U2] execute code/proc question HELP Why not just catalog the original in EURO.BP for the end users, and do a RUN DOUG.BP DOUG when testing

RE: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread Doug Chanco
@listserver.u2ug.org Subject: Re: [U2] execute code/proc question HELP The best would be to have a development account to separate the code. Without that option, the easiest would be to rename the program in DOUG.BP to something a bit different (I.e. DOUG.DEV). compile and catalog the original

RE: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread Israel, John R.
To: u2-users@listserver.u2ug.org Subject: RE: [U2] execute code/proc question HELP Yeah we discussed the separate account idea 9we did that at my last job) but here its more difficult and for ,whatever reason people are against it sigh Your other idea is not bad, but then we would have

Re: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread doug chanco
hmmm this is a very interesting idea .. thank you very much, its not as elegant as the path command but I think it will do what I need but if I understand it correctly there 2 things that have to be done 1. logic added to each program for this tester subroutine 2. the program would

RE: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread Israel, John R.
To: u2-users@listserver.u2ug.org Subject: Re: [U2] execute code/proc question HELP hmmm this is a very interesting idea .. thank you very much, its not as elegant as the path command but I think it will do what I need but if I understand it correctly there 2 things that have

RE: [U2] execute code/proc question HELP!!!!!!!!

2008-05-22 Thread John Jenkins
, John R. Sent: 22 May 2008 22:11 To: u2-users@listserver.u2ug.org Subject: RE: [U2] execute code/proc question HELP Not really a lot of work. Once your tester program is written (should not be very big), your code would change FROM something like: CALL (ARG1, ARG2...) To CALL