Shell script to run paragraph - 06-23-2003 , 09:59 PM
I've create a paragraph in VOC file:
Paragraph name - USERPARA
002: GET.LIST USERSLIST
003: ECLTYPE U
004: LIST DIST.DATA USING DICT DIST.KC DIST.ID NAME.FULL AMOUNT TO DELIM
005: ECLTYPE P
I'm new in Unidata and Unix. I'd really appreciate if anyone could
provide some detail sample to create a shell script that will run the
Thanks for any feedback.
Posted via http://dbforums.com
Re: Shell script to run paragraph - 06-24-2003 , 10:33 AM
Here you go. Hope it helps. In your case UDHOME not UVHOME(UniVerse)
PATH=$PATH:/home/dw:/usr/uv/bin:/sbin:/usr/sbin:/usr/bin:/etc:/usr/spool/uv ; ex
UVHOME=/usr/uv ; export UVHOME
UVBIN=/usr/uv/bin ; export UVBIN
NOCHKLPREQ=1 ; export NOCHKLPREQ
LPHOME=/usr/spool; export LPHOME
TERM=vt100; export TERM
/usr/uv/bin/uv < /home/dw/clear.userno.map.input > /tmp/clear.userno.map.output
VOC commands script: clear.userno.map.input
ED GLOBALVOC USERNO.MAP
havolinec <member27252 (AT) dbforums (DOT) com> wrote
Re: Shell script to run paragraph - 06-25-2003 , 08:28 AM
Of course, from the ECL prompt, you could simply type USERPARA. Or,
you could write SCRIPT.PGM
CMD = 'USERPARA'
That would do the same thing and 'pose' as a script in the UniData
I make these suggestions as you did not specify where you wanted the
script to reside, and there was already a suggestion for a script at
the *nix level.
acollazo (AT) tsbrass (DOT) com (Angelo Collazo) wrote in message news:<cfb4de4e.0306240733.6a148383 (AT) posting (DOT) google.com>...
Re: Shell script to run paragraph - 06-25-2003 , 05:45 PM
Angelo Collazo wrote:
1980 when it was located in San Diego's Old Town. We were *fired*
from work-study for doing too much study and not enough work! That
wouldn't be you by any chance?
From your shell script I take it that you're supporting a DataWorks
(DataFlo, or whatever its officially called these days) user.
SDM -- a 21st century schizoid man (Steven Davies-Morris)
http://systemstheory.net internet music project
http://thecleanersystem.com software for dry cleaners
Re: Shell script to run paragraph - 06-26-2003 , 01:23 PM
Steve, I'm not that person but I've been known to get in trouble my
self, and yes we are running the Epicor DataFlow ERP system since
sdavmor <sdavmor (AT) somewhereincyberspace (DOT) com> wrote
Re: Shell script to run paragraph - 06-29-2003 , 01:32 AM
if [ -z "$UDTHOME" ]
if [ -z "$UDTBIN" ]