HP3000-L Archives

December 1999, 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:
Reply To:
Date:
Fri, 17 Dec 1999 23:12:17 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (19 lines)
If you have MPEX from Vesoft you should be able to do something like this:

        PURGE LISTID1,TEMP
        listf @.chas.hmocorp,6;nopagehead >> listid1
        REPEAT
          setvar id_prefix "![currentrec]"[0:3]
          setvar id_mm "![currentrec]"[3:2]
          setvar id_dd "![currentrec]"[5:2]
          setvar id_account ntoken("![currentrec]",2,".")
          setvar id_eof  vefinfo("!currentrec").eof
          run aprogram;lib=p;info='!currentrec !id_mm !id_dd
                          !id_account'
        FORRECS CURRENTREC=LISTID1,OLDTEMP

Each record in the file LISTID1 (which happens to contain fully qualified file
names) is read and the contents set to the variable CURRENTREC.  Other
variables are set to various byte offsets of CURRENTREC.  Then a program is run
with an info string set to the contents of some of the variables.

ATOM RSS1 RSS2