CCL Home Page
Up Directory CCL rpsi2ps.com
$!
$! DCL script to run the the contour plotting program 
$! PSI2/88 using the filename.psi2 input file.
$!
$! Usage: psi2ps filename (no extension)
$! It assumes the input file is named filename.psi2
$!
$! The following line should be in the system startup file
$! or placed in your startup file.
$! It can be uncommented here as well.
$! Replace with the disk and directory where the PSI/88 program will reside.
$!
$! define psidir dua0:[psi88]
$!
$ if p1.eqs."" then goto noargs
$ if p2.nes."" then set def 'p2'
$!
$! Define input files.
$!
$ assign 'p1'.psi2  for005
$ assign psitmp:'p1'.f22   for022
$ assign psitmp:'p1'.f23   for023
$ assign psitmp:'p1'.f24   for024
$!
$! Define output file - the open statment opens file='psplot'.
$!
$ assign psitmp:'p1'.ps psplot
$!
$! Run the program.
$!
$ run psidir:psi2ps
$ sho status
$ deass for005
$ deass for022
$ deass for023
$ deass for024
$ deass psplot
$!
$! Place whatever command you need to send the postscript
$! to your printer here, or remove this line.
$!
$ print psitmp:'p1'.ps
$!
$ goto exit
$ noargs:
$ write sys$output "Usage: psi2ps filename (no extension)."
$ exit:
$ exit
Modified: Fri May 24 16:00:00 1991 GMT
Page accessed 5849 times since Sat Apr 17 22:02:19 1999 GMT