Report Format

I think I remember someone at the Natural Conference saying that Natural on the mainframe would be able to create report in other formats such as PDF. If this is true what format and which when? If this is wrong, I guess I need to do an Enhancement request.
Thanks.

Afaik, it is not possible without additional software (or issuing the pdf-format programmatically).

BTW. How would you display a pdf on the mainframe? :slight_smile:

Ok, Natural only produces text format.

One of the ways that you can view PDFs in OS data sets is use your favorite browser and hit the COM-PLETE HTTP server. COM-PLETE is a great product from Software AG.

By the way, I did not say I was keeping the PDF or other formats on the mainframe.

Thanks for the information.

I’ve heard/seen Software AG make many references to PDF creation, but they always involved communication with a PC running a freeware utility. The mode of communication took various forms.

I was knocked for a six when I discovered this BUT there are freeware/shareware programs for the mainframe.

One that my org uses is a freeware program named XMITIP which not only converts your mainframe report to PDF (or RTF or TXT) but will also eMail it using standard SMTP.

Here are a couple of links if you are interested:
http://www.lbdsoftware.com/zOS_Report_Distrubution_via_Electornic_Mail.pdf

http://tech.groups.yahoo.com/group/xmitip/

Here is sample JCL for XMITIP:


//*----------------------------------------------*
//* XMITIP VERSION 4.64                          *
//*----------------------------------------------*
//XMITIP  EXEC PGM=IKJEFT1B,DYNAMNBR=50
//SYSEXEC  DD DISP=SHR,DSN=P.CBTNASPA.MXCS.REXXLIB
//SYSPRINT DD  SYSOUT=*
//SYSTSPRT DD  SYSOUT=*
//SYSTSIN DD   *
%XMITIP ANGELINA@CFR.ORG +
        CC ANGELINA@CFR.ORG +
        BCC ANGELINA@CFR.ORG +
        MSGT 'Adam sings: My Heart, My Heart        +
       \\Dear Angelina, +
       \\Please will you adopt me ?  +
       \\I promise to be good, to pick up my toys, to clean my room, +
       \to hang up my towel, to do ALL my chores without complaining; +
       \I will even support you in your new role as CFR BABE, and +    
       \start thinking myself of joining in globalist 1WG mischief. +
       \\I promise to be your very, very, very affectionate nino. +
       \\I LOVE YOU, +
       \Adam '      +
        FROM ADAM@DREAMING.NET +
        SUBJECT 'A NEW BABE FOR THE NEW CFR BABE - &DATE &JOB &JOBNUM' +
        IMPORTANCE NORMAL +
        SENSITIVITY COMPANY-CONFIDENTIAL +
        PRIORITY NORMAL +
        FILE ('M1.FDB1.C2.HBR32PR1' 'M1.FDB1.C2.HBR32PR5' +
              'M1.FDB1.C2.HBR32PD1') +
        FILENAME (PreProcessReport ErrorReport NotifyExpiringXCL) +
        FILEDESC (PDF PDF CSV) +
        MARGIN (0.4/0.4/0.4/0.4 0.4/0.4/0.4/0.4) +
        FORMAT (PDF/L PDF/L CSV)
/*
//* ------------------------- End of Step --------------------------- *

Notice that MSGT (email body) begins with a single quote and ends after “Adam” with a closing quote.

Notice also that each line in the SYSTSIN DD is continued by a “+”.

There are 3 mainframe files (after FILE) being processed, the first two of which are reports with LRECL=133 and format FBA. The third is a comma delimited file being downloaded for import to a spreadsheet. The corresponding files being created and attached in the email are listed after FILENAME. MARGINs are specified for the two reports being converted to PDF.