Problem with XMITIP



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Problem with XMITIP

Postby mukeshms » Fri Jan 14, 2011 11:12 am

I was trying to send more than one PS file as email attachment using XMITIP. As long as these files are being sent as .txt everything is working. But when i try to send these as PDF only the first file is getting encoded properly as PDF while others are not. I'm not able to open the second and third file from the email attachment. Any one else faced this kind of a situation??
My XMITIP card is given below

%XMITIP (abc@xyz.com) -
NOMSG -
FILEDD (REPORT1 REPORT2 REPORT3)-
FILENAME (Report1.pdf Report2.pdf Report3.pdf ) -
FORMAT (PDF/L/9/10X14/8) -
SUBJECT 'Test Reports' -
FROM xyz@abc.com

TIA
mukeshms
 
Posts: 1
Joined: Fri Jan 14, 2011 10:49 am
Has thanked: 0 time
Been thanked: 0 time

Re: Problem with XMITIP

Postby mandor » Wed Feb 23, 2011 4:22 pm

I have the same problem, only with ziping files.
Only the first file gets zipped and the other files are sent as text. Is this a syntax problem?
mandor
 
Posts: 28
Joined: Wed Feb 23, 2011 4:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Problem with XMITIP

Postby mandor » Wed Feb 23, 2011 4:35 pm

mandor wrote:I have the same problem, only with ziping files.
Only the first file gets zipped and the other files are sent as text. Is this a syntax problem?


I found the solution by accident. It requires the syntax
FORMAT (ZIP ZIP ZIP)

for three files.
You should probably try the same.
mandor
 
Posts: 28
Joined: Wed Feb 23, 2011 4:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Problem with XMITIP

Postby dajew » Tue Mar 25, 2014 11:25 pm

Hi,

I've tried your syntax :
Code: Select all
FORMAT (ZIP ZIP ZIP)

And this work well !

But I also have a request with xmitip and ZIP attachment :
Is it possible to have several members in a single ZIP instead of 3 separate ZIP ?

PS: sorry for my bad english :)
dajew
 
Posts: 3
Joined: Tue Mar 25, 2014 11:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Problem with XMITIP

Postby dick scherrer » Tue Mar 25, 2014 11:56 pm

Hello and welcome to the forum,

I believe this should work.

Suggest you try this with 3 small files and send the e-mail to youself as a test. Then you will have confirmation that it does what you want in your envirlnment.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Problem with XMITIP

Postby dajew » Wed Mar 26, 2014 12:34 am

Actually this solution :

%XMITIP (abc@xyz.com) -
NOMSG -
FILENAME (Member1 Member2 Member3 ) -
FORMAT (ZIP ZIP ZIP) -
SUBJECT 'Test attachment' -
FROM xyz@abc.com


gives me 3 differents ZIP files as attachments : Member1.zip / Member2.zip / Member3.zip
I expected only 1 ZIP with : Member1+Member2+Member3



But with only
FORMAT (ZIP) -
instead of
FORMAT (ZIP ZIP ZIP) -
my attachments are :
Member1.zip / Member2 / Member3
dajew
 
Posts: 3
Joined: Tue Mar 25, 2014 11:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Problem with XMITIP

Postby dick scherrer » Wed Mar 26, 2014 2:04 am

Hello,

ZIP the 3 files before running XMITIP.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Problem with XMITIP

Postby dajew » Wed Mar 26, 2014 3:02 am

Thanks, that's what I tried ...
but I don't know how :S

This is the 2nd JCL of my life.
I thought we could not ZIP without XMITIP ... let's see tomorrow ^^'

Thank you for the answer.
dajew
 
Posts: 3
Joined: Tue Mar 25, 2014 11:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Problem with XMITIP

Postby dick scherrer » Wed Mar 26, 2014 3:16 am

Hello,

Yse, you can run PKZIP as a standalone program and then transfer the compressed output.

Good luck!

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post