I do the same vom MPE to Intanetware:
Ervery night a job JPCDOWNL runs programs to create Ascii-Files
Pcusers need. Afterwards i put the files via FTP to the Intranetware
server.
You could create a pc-based batchfile to make nessecary things on the
pc server ist a file is there.
My Problem is the character translation into the pc network.
Does anyone have a HP3000 based tool to translate the moved files
from Roman8 to PC-8 or Ansi-Ascii??
Because i had problems with hangs at FTP, i wrote an Auto-Abort UDC
First the running Job:
!JOB PCDOWNL, ...
!COMMENT ...
!COMMENT * TERMINATE AFTER 30 MINUTES
!SYSABBRUCHJOB "IN=,,30"
.. create files
!FTP.ARPA.SYS
OPEN 190.1.1.10
USER .HP3000.KLOEBER
password
CD /VOL1/DATEN/PUBLIC
ASCII
PUT DTSVA120.KLWORK HPADRESS.TXT
QUIT
!TELLSYS "JOB BEENDET !HPCONNMINS MIN. CONNECT"
!EOJ
The UDC:
MPE/XL:HELP SYSABBRUCHJOB
User-defined command:
SYSABBRUCHJOB !STARTZEIT
COMMENT * BREAK A JOB AFTER DEFINED TIME
COMMENT * START WITH :SYSABBRUCHJOB "AT=12:47"
COMMENT * OR :SYSABBRUCHJOB "IN=,,15"
SETVAR JZ10, "?JOB AB!HPJOBNUM,OPERATOR/password!.SYS;HIPRI"
SETVAR JZ15, "?SETVAR HPAUTOCONT, TRUE"
SETVAR JZ20, '?TELLSYS "ABORT FOR !HPJOBNUM : !HPJOBNAME,!HPUSER.' +
'!HPACCOUNT
"'
SETVAR JZ25, "?SHOWJOB #J!HPJOBNUM"
SETVAR JZ30, "?ABORTJOB #J!HPJOBNUM"
SETVAR JZ40, '?TELLSYS "JOB BEENDET"'
SETVAR JZ50, "?SET STDLIST=DELETE"
SETVAR JZ60, "?EOJ"
ECHO !JZ10 >TEMPJOB
ECHO !JZ15 >>TEMPJOB
ECHO !JZ20 >>TEMPJOB
ECHO !JZ25 >>TEMPJOB
ECHO !JZ30 >>TEMPJOB
ECHO !JZ40 >>TEMPJOB
ECHO !JZ50 >>TEMPJOB
ECHO !JZ60 >>TEMPJOB
COMMENT PRINT TEMPJOB
STREAM TEMPJOB,? ;!STARTZEIT
Hope that helps
Stefan 14.11.97 10:00
Denis St-Amand wrote:
>
> Don't know if you have a job scheduler on your HP3000. Suppose you have
> one or you use "STREAMS ...;AT=..."
>
> Here is briefly what you have to do:
> -On your NT Domain, create a user representing your HP3000 process. Select
> "User can't change password" and "password never expires" options and use a
> complicated password 8-)
> -Enable FTP Server on your NT Server but give Read/Write access ONLY to the
> drives you want the HP3000 or other FTP users to access. And please, change
> the home directory of the FTP Server service to something else than the NT
> boot partition...
> -On the HP3000, create a job that will run the FTP.ARP program to access
> the NT Server.
>
> Hope it helps.
>
> --
> Denis St-Amand (remove "removeit." from my reply address)
>
> jorgen <[log in to unmask]> a icrit dans l'article
> <[log in to unmask]>...
> > How is it possible to schedule a script to run at night
> > transferring a file from and to an NT-server?
|