HP3000-L Archives

February 2011, 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:
Gilles Schipper <[log in to unmask]>
Reply To:
Gilles Schipper <[log in to unmask]>
Date:
Thu, 17 Feb 2011 11:58:47 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Yes, your solution should work fine in the absence of MPEX - as long 
as you drop the ;keepamdates and ;pagehead parameters - which would 
be valid only for the MPEX version of the print command.

At 11:38 AM 2011-02-17, Jay Willis wrote:
>I want to append to a file (JSXF) the first and last records of each 
>file in a set of files (!fileset) using one command file.
>
>This is how I get the first record (using one command file):
>
>file lpb = JSXF,old;dev=disc;acc=append
>print !fileset;start=1;end=1;keepamdates;out=*lpb;pagehead;num
>
>And this is how I get the last record (using another command file):
>
>file lpb = JSXF,old;dev=disc;acc=append
>print !fileset;start=-1;keepamdates;out=*lpb;pagehead;num
>
>* To join/leave the list, search archives, change list settings, *
>* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

-------------------------------------------------------------------------------------------------
Gilles Schipper
GSA Inc.
HP System Administration Specialists
300 John Street, Box 87651   Thornhill, ON Canada L3T 7R4
Tel: 416.702.7900
email:  [log in to unmask]  web: http://www.gsainc.com
-------------------------------------------------------------------------------------------------

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2