View previous topic :: View next topic
|
Author |
Message |
Time2Live
New User
Joined: 27 Apr 2005 Posts: 43 Location: United States
|
|
|
|
I am trying to send a report from the mainframe to my pc by email as PDF landscape. It works with 1 file. But when I have 2 files, see below, I receive the 1st file as landscape ok, but the 2nd file is portrait which is the default. Any ideas? I can do it 1 file at a time but I want multiple files at once.
Code: |
//PSTEP04 EXEC PGM=IKJEFT1B,DYNAMNBR=50
//SYSEXEC DD DISP=SHR,DSN=SYS4.LACCMDS
//SYSPRINT DD SYSOUT=*
//ATT1 DD DSN=SYSPT.********.R09,DISP=SHR
//ATT2 DD DSN=SYSPT.********.R32,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DSN=SYSPT.***.DATA80(XMITPDF),DISP=SHR
//PDFCONFG DD DSN=SYSPT.***.DATA80(XMITCONF),DISP=SHR
EDIT SYSPT.***.DATA80(XMITPDF)
****** ***************************** Top of Data ********
000001 %XMITIP myname@email.address.com +
000002 FROM myname@email.address.com +
000003 MSGT "YOUR FILE IS READY" +
000004 SUBJECT "DEFAULT REPORT " +
000005 FILEDD (ATT1 ATT2) +
000006 FILENAME (xxxxxx.R09.pdf xxxxxx.R32.pdf) +
000007 ASA FORMAT PDF/DD:PDFCONFG
EDIT SYSPT.***.DATA80(XMITCONF)
****** ***************************** Top
000001 ORIENT LANDSCAPE
000002 PAPER LEGAL
000003 LM 0.5
000004 RM 0.05
000005 TM 0.5
000006 BM 0.5
000007 FONT 09/COURIER/100
000008 LPI 8
|
|
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2454 Location: Hampshire, UK
|
|
|
|
Seems more of an FTP question than a JCL question - moved to TSO/ISPF where FTP questions reside. |
|
Back to top |
|
|
phunsoft
New User
Joined: 19 Jul 2018 Posts: 11 Location: Switzerland
|
|
|
|
Nic Clouston wrote: |
Seems more of an FTP question than a JCL question - moved to TSO/ISPF where FTP questions reside. |
This is neither a TSO nor an FTP question. It is a question about what XMITIP supports. The manual is quite clear about this I would think:
Quote: |
There must be one format string (type/option) per file attachment with the default being a plain text attachment. If you want to use the same format for all file attachments then the type must be proceeded by an * (see below in the syntax).
The syntax is:
FORMAT type/option
Or
FORMAT (type/option type2/option2 ...)
Or
FORMAT *type/option indicates to use this format for all file attachments |
You might want to try
Code: |
FORMAT *PDF/DD:PDFCONFG |
Peter |
|
Back to top |
|
|
Time2Live
New User
Joined: 27 Apr 2005 Posts: 43 Location: United States
|
|
|
|
Thank You phunsoft!! It worked Wonderfully!
Code: |
FORMAT *PDF/DD:PDFCONFG
|
|
|
Back to top |
|
|
|