Skip Navigational Links
LISTSERV email list manager
LISTSERV - COMMUNITY.EMAILOGY.COM
LISTSERV Menu
Log In
Log In
LISTSERV 17.5 Help - LSTSRV-L Archives
LISTSERV Archives
LISTSERV Archives
Search Archives
Search Archives
Register
Register
Log In
Log In

LSTSRV-L Archives

LISTSERV Site Administrators' Forum

LSTSRV-L

Menu
LISTSERV Archives LISTSERV Archives
LSTSRV-L Home LSTSRV-L Home

Log In Log In
Register Register

Subscribe or Unsubscribe Subscribe or Unsubscribe

Search Archives Search Archives
Options: Use Forum View

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:
LSVPUT bug
From:
Ross Patterson <A024012@RUTVM1>
Reply To:
The Revised LISTSERV Distribution List <LSTSRV-L@EB0UB011>
Date:
Wed, 15 Oct 1986 16:33:52 EDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
I've found a small problem with the new (version 1.5b) LSVPUT EXEC. If
the file you're sending exists on several disks, and you neglect to
specify the filemode on the LSVPUT command, it leaves garbage on the
stack. The bad code is:
 
-------------------- Start of included file BADPUT EXEC  --------------------
/* Determine true fileid & file characteristics */
 
'LISTFILE' copyfn copyft copyfm '(LIFO DATE'
 Pull copyfn copyft copyfm recfm lrecl .
 
 End /* Of section skipped if fn = '' */
-------------------- End   of included file BADPUT EXEC  --------------------
 
The solution is to bracket the LISTFILE/Pull sequence with a MAKEBUF/DROPBUF
pair. I would also change the LIFO to FIFO, so as to get the copy on the
first accessed disk.

ATOM RSS1 RSS2

COMMUNITY.EMAILOGY.COM CataList Email List Search Powered by LISTSERV