HP3000-L Archives

February 1997, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
[log in to unmask][log in to unmask], 26 Feb 1997 23:24:22 -0800536_us-ascii Gilles Schipper wrote:

(lots of good stuff snipped for brevity :-)

> 3. chdir /bin
> 4. ./ln "-s /SYS/NET/INETDCNF /etc/inetd.conf
> 5. ./ln -s /SYS/NET/BOOTPTAB /etc/bootptab

You may also do this from MPE CI by

:NEWLINK /etc/inetd.conf , /SYS/NET/INETDCNF
:NEWLINK /etc/bootptab , /SYS/NET/BOOTPTAB

Notice the different order of arguments between
NEWLINK and ln, though (well, to me the NEWLINK
seems more intuitive but that's surely a matter
of taste). [...]48_26Feb199723:24:[log in to unmask]
Reply To:
[log in to unmask][log in to unmask], 27 Feb 1997 13:59:35 EST491_- Hi Gina!

JCL stands for Job Control Language and is basically the MPE operating
system commands and some flow control (IF/THEN/ELSE) functions. It is
used to write batch job scripts, online User Defined Commands (UDC's)
and Command Files (under MPE/iX).

Hope this helps.

Jim Phillips Manager of Information Systems
E-Mail: [log in to unmask] Therm-O-Link, Inc.
Phone: (330) 527-2124 P. O. Box 285
Fax: (330) 527-2123 Garrettsville, Ohio 4423146_27Feb199713:59:[log in to unmask]
Date:
Thu, 27 Feb 1997 11:30:50 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
Stephen,

You can combine the variables HPYEAR, HPMONTH and HPDATE (not HPDAY):


SETVAR YY !HPYEAR
IF LEN("!HPMONTH") < 2 THEN
    SETVAR MM "0" + "!HPMONTH"
ELSE
    SETVAR MM "!HPMONTH"
ENDIF
IF LEN("!HPDATE") < 2 THEN
    SETVAR DD "0" + "!HPDATE"
ELSE
    SETVAR DD "!HPDATE"
ENDIF
SETVAR FILENAME "A" + "!YY" + "!MM" + "!DD"
SHOWVAR FILENAME

You can then ECHO the variable FILENAME into one line of an input file to FTP:

ECHO open>FTPIN
ECHO more commands >>FTPIN
ECHO get !FILENAME >>FTPIN
ECHO exit >>FTPIN

Then:

RUN FTP.ARPA.SYS<FTPIN

We do this sort of thing all the time.

I'll be happy to help you if you call me.

Leonard Berkowitz
RIA Group (Warren, Gorham & Lamont)
617-292-8349 (E. S. T.)
______________________________ Reply Separator _________________________________
Subject: [HP3000-L] FTP file variable
Author:  Johnson Stephen <[log in to unmask]> at Internet-Exchange
Date:    02/27/97 10:56 AM


If I have file adcatscz and I want to FTP it with the name a970227,
(todays date) .........
what variable or system verb would accomplish the rename ?
Can you FTP a backreference (*) ?
an help is welcome or I'll construct the jcl in the program and stream
it.

ATOM RSS1 RSS2