Date: Fri, 20 Sep 1996 15:34:49 +1100
Reply-To: Dean Daridis <DDaridis@N175LIV1.TELECOM.COM.AU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Dean Daridis <DDaridis@N175LIV1.TELECOM.COM.AU>
Organization: Telstra - ITG Operations
Subject: MVS/JES Control Characters - Graphics Output to HP Laser Printer
I am trying to print SAS Graphics output from MVS to an HP Laserjet
printer. We have a PC set up running an LPD Print Daemon under TCP/IP.
This is addressed from MVS via VPS and directs the raw (binary) output
to the printer.
This all works fine except that JES insists on reserving the first
column of the output for its control characters and populates it with
Hex 09's. This causes the printer to print the data stream rather than
interpret it.
I've been through the JCL manual looking for a parm which would suppress
these control characters with no joy.
Following is the JCL / Code I am using
//GTESTPRT EXEC SAS
//GSASFILE DD SYSOUT=G,DEST=(VIB,LPR21281),
// DCB=(DSORG=PS,RECFM=VB,LRECL=150,BLKSIZE=0)
//SYSIN DD *
GOPTIONS DEVICE=HPLJ3SIM GACCESS=GSASFILE GPROTOCOL=SASGPASC
GSFLEN=137 NOPROMPT GSFMODE=APPEND;
PROC GTESTIT;
/*
I have changed the //GSASFILE DD to output to a flat file as follows:
//GSASFILE DD DSN=INCSCAB.SASBIN.PCEXPORT,
// DISP=(,CATLG),UNIT=SYSDA,
// DCB=(DSORG=PS,RECFM=VB,LRECL=150,BLKSIZE=0),
// SPACE=(TRK,(150,50))
This does not have the hex 09's and I can take a binary download of
this, do a dos COPY/B to the printer and get the desired output. When I
print this file via either DSPRINT or IEBGENER, the 09's appear on the
output dataset on the spool.
Does anyone know of a way to suppress these control characters ?
Dean Daridis
Telstra (Telecom Australia)
Information Technology Group
DDaridis@N175LIV1.Telecom.com.au