IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IKJEFT1B - Cant send 2 files with both as landscape


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Time2Live

New User


Joined: 27 Apr 2005
Posts: 16
Location: United States

PostPosted: Thu Jul 19, 2018 4:56 am
Reply with quote

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
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2453
Location: Hampshire, UK

PostPosted: Thu Jul 19, 2018 2:17 pm
Reply with quote

Seems more of an FTP question than a JCL question - moved to TSO/ISPF where FTP questions reside.
Back to top
View user's profile Send private message
phunsoft

New User


Joined: 19 Jul 2018
Posts: 11
Location: Switzerland

PostPosted: Thu Jul 19, 2018 8:34 pm
Reply with quote

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
View user's profile Send private message
Time2Live

New User


Joined: 27 Apr 2005
Posts: 16
Location: United States

PostPosted: Thu Jul 26, 2018 4:33 am
Reply with quote

Thank You phunsoft!! It worked Wonderfully!

Code:

FORMAT *PDF/DD:PDFCONFG
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
This topic is locked: you cannot edit posts or make replies. Copy list of files from PS to another... CLIST & REXX 11
No new posts JOINKEYS to match two input files on ... DFSORT/ICETOOL 3
No new posts Group comparison/update between two f... DFSORT/ICETOOL 10
No new posts Need assistance formatting when joini... SYNCSORT 8
No new posts Combining more 4 files with sorted or... DFSORT/ICETOOL 3
Search our Forums:

Back to Top