No, the files will be different - your file, permfile, only has 32 bytes
(you file EQ makes it so).
Have a great weekend.
Ray Shahan
-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
Behalf Of Dave Powell, MMfab
Sent: Thursday, March 23, 2006 4:57 PM
To: [log in to unmask]
Subject: [HP3000-L] Thursday quiz (spool files)
Start with a simple program that generates a 132-column, fixed length
report.
Run it with output to a spool file, like:
file rptfile; dev=lp,1
run progname
Then run it with output to a permanent cctl file, like:
file rptfile = permfile, new; dev=disc; cctl; save &
; rec=,32,f,ascii; disc=60000,32,0
run progname
Finally send the perm file to a spool file, like:
file newspool; dev=lp,1; cctl
print permfile > *newspool
Questions
1: Are the two spoolfiles identical ?
2: What about the printouts ?
Dave Powell, MMfab
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|