HP3000-L Archives

November 1996, Week 1

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:
Reply To:
Date:
Sun, 3 Nov 1996 18:55:59 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
Michael writes:

<I'm an inexperienced MPEix programmer who needs to FTP a file from an HP
<to a BACSBOX. The file name is not known until run time when it takes the
<form RAddmmXX where ddmm is the day and month. Everything is fine in the
<HP under MPE where the file is created correctly, can be referred to as
<!RAFILE and written to as required.
<However, once I run FTP in my job stream it cannot recognise the file as
<!RAFILE.

<How do I pass the name of the file to FTP at run time?

If you have MPEX from Vesoft, you can pass the name of the file you want
to FTP as a variable via MPEX's INPUT= option.

!JOB JFTPRAFL,MGR.ANACCT,PUB;OUTCLASS=LP,1
!MPEX
%ALTFILE !RAFILE;SQUEEZE
%RUN FTP.ARPA.SYS;INPUT='OPEN 206.213.999.9';&
INPUT='USER USERNAM USERPAS';INPUT='EXITONERROR';&
INPUT='CD D:\GEMS';INPUT='DIR';&
INPUT='DELETE !RAFILE';&
INPUT='PUT !RAFILE';&
INPUT='DIR';&
INPUT='QUIT'
%EXIT
!EOJ

ATOM RSS1 RSS2