![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi all, I've create a paragraph in VOC file: Paragraph name - USERPARA 001: PA 002: GET.LIST USERSLIST 003: ECLTYPE U 004: LIST DIST.DATA USING DICT DIST.KC DIST.ID NAME.FULL AMOUNT TO DELIM ";" _HOLD_/TESTDATA.TXT 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 above paragraph. Thanks for any feedback. |
#3
| |||
| |||
|
|
Here you go. Hope it helps. In your case UDHOME not UVHOME(UniVerse) clear.userno.map script. MAIL=/usr/mail/${LOGNAME:?} PATH=$PATH:/home/dw:/usr/uv/bin:/sbin:/usr/sbin:/usr/bin:/etc:/usr/spool/uv ; ex port PATH UVHOME=/usr/uv ; export UVHOME UVBIN=/usr/uv/bin ; export UVBIN NOCHKLPREQ=1 ; export NOCHKLPREQ LPHOME=/usr/spool; export LPHOME umask 000 TERM=vt100; export TERM cd /dbms/live/TR /usr/uv/bin/uv < /home/dw/clear.userno.map.input > /tmp/clear.userno.map.output ~~~~~~~~~~~ VOC commands script: clear.userno.map.input USERLOGINNAME,PASSWORD,VT100 TCL TIME WHO ED GLOBALVOC USERNO.MAP L999 T DE9999 FI TIME OFF havolinec <member27252 (AT) dbforums (DOT) com> wrote Hi all, I've create a paragraph in VOC file: Paragraph name - USERPARA 001: PA 002: GET.LIST USERSLIST 003: ECLTYPE U 004: LIST DIST.DATA USING DICT DIST.KC DIST.ID NAME.FULL AMOUNT TO DELIM ";" _HOLD_/TESTDATA.TXT 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 above paragraph. Thanks for any feedback. |
#4
| |||
| |||
|
|
Here you go. Hope it helps. In your case UDHOME not UVHOME(UniVerse) clear.userno.map script. MAIL=/usr/mail/${LOGNAME:?} PATH=$PATH:/home/dw:/usr/uv/bin:/sbin:/usr/sbin:/usr/bin:/etc:/usr/spool/uv ; ex port PATH UVHOME=/usr/uv ; export UVHOME UVBIN=/usr/uv/bin ; export UVBIN NOCHKLPREQ=1 ; export NOCHKLPREQ LPHOME=/usr/spool; export LPHOME umask 000 TERM=vt100; export TERM cd /dbms/live/TR /usr/uv/bin/uv < /home/dw/clear.userno.map.input > /tmp/clear.userno.map.output ~~~~~~~~~~~ VOC commands script: clear.userno.map.input USERLOGINNAME,PASSWORD,VT100 TCL TIME WHO ED GLOBALVOC USERNO.MAP L999 T DE9999 FI TIME OFF |
#5
| |||
| |||
|
|
Angelo Collazo wrote: Here you go. Hope it helps. In your case UDHOME not UVHOME(UniVerse) clear.userno.map script. MAIL=/usr/mail/${LOGNAME:?} PATH=$PATH:/home/dw:/usr/uv/bin:/sbin:/usr/sbin:/usr/bin:/etc:/usr/spool/uv ; ex port PATH UVHOME=/usr/uv ; export UVHOME UVBIN=/usr/uv/bin ; export UVBIN NOCHKLPREQ=1 ; export NOCHKLPREQ LPHOME=/usr/spool; export LPHOME umask 000 TERM=vt100; export TERM cd /dbms/live/TR /usr/uv/bin/uv < /home/dw/clear.userno.map.input > /tmp/clear.userno.map.output ~~~~~~~~~~~ VOC commands script: clear.userno.map.input USERLOGINNAME,PASSWORD,VT100 TCL TIME WHO ED GLOBALVOC USERNO.MAP L999 T DE9999 FI TIME OFF I went to school with an Angelo Collazo at Coleman College, back in 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. |
#6
| |||
| |||
|
|
I've create a paragraph in VOC file: Paragraph name - USERPARA 001: PA 002: GET.LIST USERSLIST 003: ECLTYPE U 004: LIST DIST.DATA USING DICT DIST.KC DIST.ID NAME.FULL AMOUNT TO DELIM ";" _HOLD_/TESTDATA.TXT 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 above paragraph. |
![]() |
| Thread Tools | |
| Display Modes | |
| |