HP3000-L Archives

August 1997, Week 3

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:
Fred Metcalf <[log in to unmask]>
Reply To:
Date:
Wed, 20 Aug 1997 09:28:40 +0200
Content-Type:
text/plain
Parts/Attachments:
It (26 lines)
This works for me on LISTF,2 - have not tried LISTF,6:
:FILE CHANGEME;DEV=DISC;REC=-80,,F,ASCII;NOCCTL;SAVE

[log in to unmask]

> I have a list of files that I want to run a command against. I decided
> it would be fun for now, and genuinely useful RSN, to do so with just a
> few MPE commands. So I LISTF,6 the file argument into CHANGEME, and
> SAVEd it. Then I started my WHILE loop, INPUT NEXTFILE<CHANGEME, and
> ALTFILE !NEXTFILE <parms>. I got "Invalid character in MPE file name.
> (CIERR 583)". Odd, the file name looked like it dereferenced correctly
> on the command line. Now I had it in a variable, so I ECHOd it to see
> that it looked normal, and tried LISTF !NEXTFILE, among other things.
> Same error. So, I tried "FCOPY FROM=CHANGEME;TO;HEX;CHAR", and saw:
>
> CHANGEME RECORD 0 (%0, #0)
>
> 0000: 0042 3031 3639 3034 2E4A 4F42 3031 2E41 .B016904.JOB01.A
> 0008: 4430 3120 2020 2020 2020 20             D01
>
> Each record begins with a x00! Humph! Says I, I cannot be the only one
> to try this, since I read about doing this in an Interex publication. I
> bet someone can tell me what I am doing wrong here, besides putting in
> twelve hour days.
>

ATOM RSS1 RSS2