Help using Base SAS procedures

PROC REPORT PREIMAGE on MAINFRAME (mvs)

Reply
Frequent Contributor
Posts: 89

PROC REPORT PREIMAGE on MAINFRAME (mvs)

dear all,
my PROC REPORT works fine on PC and MAINFRAME.
However, on mainframe my .PNG image is not dispayed properly (red cross) after emailing this html report.
I did an FTP of the original PNG file to mainframe either BINARY as TEXT, nothing helps.
I suppose the syntax below is correct?
PC: call define('flag','style','style={preimage="c:\data\czech.png"}')
MF: CALL DEFINE('FLAG','STYLE',"STYLE={PREIMAGE='D9HJA.S.TEST'}")

any suggestions?

Regards,
Herman
Super Contributor
Super Contributor
Posts: 3,174

Re: PROC REPORT PREIMAGE on MAINFRAME (mvs)

First, you should review the SAS-generated HTML code where your HTML tag refereces your uploaded binary file.

From what you have demonstrated, the file was uploaded to an MVS sequential dataset which is not going to be known to your mainframe web browser unless you have a specific CGI-interface implemented called MVSDS.

You must have ODS HTML code to generate your web-content either to a z/OS MVS HFS/zFS or to a PDSE library?

Also, as a simple test, you should attempt to display the PNG file independent of any other HTML code/tags, presuming your site has implemented the MVSDS facility in the HTTP (Apache) mainframe web server. You will need to check with your IBM z/OS MVS mainframe system programmer staff to get the answer to this question.

What I would recommend here is that you seek some technical guidance with generating web content to your z/OS mainframe web server, whether to a HFS/zFS or to MVS PDS/PDSE or sequential dataset resource.

Scott Barry
SBBWorks, Inc.
Ask a Question
Discussion stats
  • 1 reply
  • 155 views
  • 0 likes
  • 2 in conversation