Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
IKJEFT1B - Cant send 2 files with both as landscape

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Time2Live

New User


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

PostPosted: Thu Jul 19, 2018 4:56 am    Post subject: IKJEFT1B - Cant send 2 files with both as landscape
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: 2098
Location: UK

PostPosted: Thu Jul 19, 2018 2:17 pm    Post subject: Reply to: IKJEFT1B - Cant send 2 files with both as landscape
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    Post subject: Re: Reply to: IKJEFT1B - Cant send 2 files with both as landscape
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: 9
Location: United States

PostPosted: Thu Jul 26, 2018 4:33 am    Post subject: Reply to: IKJEFT1B - Cant send 2 files with both as landscape
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Anyone know how to copy Unix files? John Poulakos JCL & VSAM 7 Wed Oct 10, 2018 12:57 am
No new posts PL/I read error for HFS files Joe Kirsch PL/I & Assembler 6 Fri Sep 28, 2018 9:13 pm
No new posts Need help on the multiple files refor... wik123 DFSORT/ICETOOL 7 Wed Sep 19, 2018 10:47 am
No new posts Merge two files and sum up the count ... preeti6 JCL & VSAM 6 Thu Sep 06, 2018 10:57 am
No new posts Splitting one record in a file to 10 ... mf_123 DFSORT/ICETOOL 9 Tue Aug 21, 2018 8:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us