Re: [U2] [UD] Executing save-list
For those not sure : EXECUTE TCL.COMMAND RTNLIST THE.LIST CAPTURING DISCARD The above command in Universe will not work. Even though the manual says it does. We did the following to get the same effect : EXECUTE TCL.COMMAND CAPTURING DISCARD READLIST THE.LIST ELSE THE.LIST = good luck Jack Garivaldis Interactive Data Melbourne Australia -- View this message in context: http://www.nabble.com/-UD-Executing-save-list-t1359368.html#a3688795 Sent from the U2 - Users forum at Nabble.com. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Shell Escape
I am not sure when it became available, but it is in my 7.0 manuals: SETENV Syntax SETENV(var_name, value) Description Use the SETENV function to set an environment variable from UniBasic. Parameters The following table describes each parameter of the syntax. Return Codes The following table describes the SETENV return codes. Parameter Description var_name The name of the environment variable. value The value of the environment variable. SETENV Parameters Return Code Description 0 Setting the environment variable was successful. -1 Setting the environment variable was not successful. SETENV Return Codes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ken Wallis Sent: Thursday, March 30, 2006 5:01 PM To: 'U2Users' Subject: RE: [U2] Shell Escape Excellent idea, but I can't find this documented Rod. What version? Which pdf? Cheers, Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Baakkonen, Rodney A (Rod) 46K Sent: Friday, 31 March 2006 9:01 AM To: 'Ron Sharcott'; 'Stewart Leicester'; 'U2Users' Subject: RE: [U2] Shell Escape How about the SETENV verb. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UD] Executing save-list
Jack RTNLIST works but it creates a select list variable not a regular dynamic array. This means you can use it to segregate list processing as below: Execute SSELECT VOC RTNLIST SLIST CAPTURING OUT Crt OUT= :OUT Fin = @False Loop ReadNext Id From SLIST Else Fin = @True Until Fin Do Crt Id = :Id Repeat What you can't do is use it for a ReadList statement. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jig (sent by Nabble.com) Sent: 31 March 2006 13:53 To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UD] Executing save-list For those not sure : EXECUTE TCL.COMMAND RTNLIST THE.LIST CAPTURING DISCARD The above command in Universe will not work. Even though the manual says it does. We did the following to get the same effect : EXECUTE TCL.COMMAND CAPTURING DISCARD READLIST THE.LIST ELSE THE.LIST = good luck Jack Garivaldis Interactive Data Melbourne Australia -- View this message in context: http://www.nabble.com/-UD-Executing-save-list-t1359368.html#a3688795 Sent from the U2 - Users forum at Nabble.com. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Shell Escape
ENVIRONMENT in Unverse 10 HELP ENVIRONMENT tells all Bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Baakkonen, Rodney A (Rod) 46K Sent: 31 March 2006 14:34 To: '[EMAIL PROTECTED]'; 'U2Users' Subject: RE: [U2] Shell Escape I am not sure when it became available, but it is in my 7.0 manuals: SETENV Syntax SETENV(var_name, value) Description Use the SETENV function to set an environment variable from UniBasic. Parameters The following table describes each parameter of the syntax. Return Codes The following table describes the SETENV return codes. Parameter Description var_name The name of the environment variable. value The value of the environment variable. SETENV Parameters Return Code Description 0 Setting the environment variable was successful. -1 Setting the environment variable was not successful. SETENV Return Codes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ken Wallis Sent: Thursday, March 30, 2006 5:01 PM To: 'U2Users' Subject: RE: [U2] Shell Escape Excellent idea, but I can't find this documented Rod. What version? Which pdf? Cheers, Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Baakkonen, Rodney A (Rod) 46K Sent: Friday, 31 March 2006 9:01 AM To: 'Ron Sharcott'; 'Stewart Leicester'; 'U2Users' Subject: RE: [U2] Shell Escape How about the SETENV verb. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Newest UV UniDebugger
Hi Folks, I've just downloaded and installed the newest utilities for Universe, v101b-clients-7149, from the IBM site. They seem to have made a number of changes and it seems like one is the format of the workspace file in the UniDebugger program. Does anyone know if there is a converter between the v101a version to the v101b version? I've got a number of different work spaces with a number of different programs I keep in them and it's going to be ROYAL pain in the butt to have to re-open all of them. I'm not too wild about the change in the icon's, either, since the Dynamic Connect icon and the UniDebugger icon are the same in the task bar. There's not an easy way to change it, either, without hacking a file association entry. Thanks, BobW --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[no subject]
Oops. I take it back about an easy way to change the icon. Guess I needed to reboot after installing to be able to get the properties screen to let me. Still need to know about converting, though. Thanks again, BobW --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Shell Escape
I just wanted to pass on an update and summary. - ! Does indeed cause a shell so sourcing won't work. - Datatel says that I should be able to use SETENV even on UDT 6.0.11 - The trouble is now getting it to work from a Envision screen. Datatel has provided some suggestions so I will have to hack my way through Envision which is not a strong desire. My thanks to all who replied with suggestions. Jerry banker, Allen Elwood, Stewart leicester, Rodney Baakkonen, Ken Wallis, Symeon Breen. Hopefully I've not missed any. Being new on this list it already has proved worth while. Ron Sharcott (3635) After all, what else is scientific enquiry of any sort other than a controlled version of bashing one's head against the Universe until something gives? - Tom Holt -Original Message- From: Symeon Breen [mailto:[EMAIL PROTECTED] Sent: Thursday, March 30, 2006 12:54 AM To: u2-users@listserver.u2ug.org Subject: [U2] Shell Escape I dont think source'ing it will work anyway as i presume unidata executes ! as a seperate shell anyway, so the source will only exist for the life of the shell. In my experiments that has been the case anyway. Also i have found sourcing to work fine from unidata either using !source script params or !. script params script lookslike #!/bin/sh # cmd=$0 $* set -- `getopt 12345 $*` if [ $? != 0 ]; then echo invalid option exit 2 fi case $1 in -1) do=this is a test ;; -2) do=number two ;; *) do=$1 ;; esac export AD=$do echo $AD Note I am setting an enveronment variable, but when i get back to udt it is not set even if sourced so i imaging udt is doing a seprate shell anyway. - not much help i know ... On 30/03/06, Allen E. Elwood [EMAIL PROTECTED] wrote: Well, you could set up a program called SWITCH.CAMPUS or WHEREAMI and have them execute that, and have it ask for campus and department, and then do a lookup to see what printer it should use and then execute SETPTR. Attach that to their logon proc and you've got a fairly idiot proof procedure. (note, no procedure if fully idiot proof, as in PEBKAC) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ron S (sent by Nabble.com) Sent: Wednesday, March 29, 2006 13:23 To: u2-users@listserver.u2ug.org Subject: Re: [U2] Shell Escape We have multiple campuses and staff that will change campus mid week. They need the functionality of changing printers. -- View this message in context: http://www.nabble.com/Shell-Escape-t1363450.html#a3658970 Sent from the U2 - Users forum at Nabble.com. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/