When I tried to open it with 7-Zip I received the following message:
Can not open file "abc.zip" as archive.
Thank You and Please Be Safe!
Len Sasso
Systems Administrator Senior
CSRA, A General Dynamics Information Technology Company
327 Columbia TPKE
Rensselaer, NY 12144
TEAM: Together Everyone Achieves More
Office Hours: M-F 7 AM - 3:45 PM
Vacation:
Phone: (518) 257-4209
Cell: (518) 894-0879
Fax: (518) 257-4300
[email protected]
URL: www.gdit.com<http://www.gdit.com>
________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of
Carmen Vitullo <[email protected]>
Sent: Wednesday, April 27, 2022 11:32 AM
To: [email protected] <[email protected]>
Subject: Re: Send an email with a Zip file as an attachment?
[External: Use caution with links & attachments]
ok, i found an older JCL from a former job
SUBJECT: Z/OS SYST SMTP MAIL TESTING WITH ATTACHMENT
MIME-VERSION: 1.0
CONTENT-TYPE: APPLICATION/ZIP
CONTENT-TRANSFER-ENCODING: BINARY
CONTENT-DESCRIPTION: TEST ZIP ATTACHMENT
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=CPV8281.ZIP -
On 4/27/2022 10:28 AM, Sasso, Len wrote:
> Do you have an example using IEBGENER with a Zip file attachment?
>
>
>
> Thank You and Please Be Safe!
>
> Len Sasso
> Systems Administrator Senior
> CSRA, A General Dynamics Information Technology Company
> 327 Columbia TPKE
> Rensselaer, NY 12144
>
> TEAM: Together Everyone Achieves More
>
> Office Hours: M-F 7 AM - 3:45 PM
>
> Vacation:
>
> Phone: (518) 257-4209
> Cell: (518) 894-0879
> Fax: (518) 257-4300
> [email protected]
> URL:www.gdit.com<http://www.gdit.com>
>
>
>
> ________________________________
> From: IBM Mainframe Discussion List<[email protected]> on behalf of
> Carmen Vitullo<[email protected]>
> Sent: Wednesday, April 27, 2022 11:26 AM
> To:[email protected] <[email protected]>
> Subject: Re: Send an email with a Zip file as an attachment?
>
>
>
> [External: Use caution with links & attachments]
>
> one more better example
>
> //SMTPTEST EXEC PGM=IEBGENER
>
> //SYSPRINT DD SYSOUT=*
>
> //SYSOUT DD SYSOUT=*
>
> //SYSIN DD DUMMY
>
> //SYSUT1 DD *
>
> HELO LITJES2T
>
> MAILFROM:[email protected]
>
> RCPT TO:<@MAIL.NET:[email protected]>
>
> DATA
>
> SUBJECT: Z/OS SYST SMTP MAIL TESTING WITH ATTACHMENT
>
> MIME-VERSION: 1.0
>
> CONTENT-TYPE: TEXT/PLAIN
>
> CONTENT-DISPOSITION: ATTACHMENT; FILENAME=user.JCL.CNTL(BR14) -
>
> /*
>
> //SYSUT2 DD SYSOUT=(B,SMTP)
>
> On 4/27/2022 10:20 AM, Sasso, Len wrote:
>> I have already created the Zip file with PKZIP (LRECL=80).
>> An example of using IEBGENER and attaching the Zip file would be appreciated.
>>
>>
>> Thank You and Please Be Safe!
>>
>> Len Sasso
>> Systems Administrator Senior
>> CSRA, A General Dynamics Information Technology Company
>> 327 Columbia TPKE
>> Rensselaer, NY 12144
>>
>> TEAM: Together Everyone Achieves More
>>
>> Office Hours: M-F 7 AM - 3:45 PM
>>
>> Vacation:
>>
>> Phone: (518) 257-4209
>> Cell: (518) 894-0879
>> Fax: (518) 257-4300
>> [email protected]
>> URL:www.gdit.com<http://www.gdit.com>
>>
>>
>>
>>
>> ________________________________
>> From: IBM Mainframe Discussion List<[email protected]> on behalf of
>> Carmen Vitullo<[email protected]>
>> Sent: Wednesday, April 27, 2022 11:14 AM
>> To:[email protected] <[email protected]>
>> Subject: Re: Send an email with a Zip file as an attachment?
>>
>>
>>
>> [External: Use caution with links & attachments]
>>
>> I have an example, not attaching a zip file - do you have a product like
>> PKZIP on the mainframe?
>>
>> if you need an example of using IEBGENER and attaching a file I can
>> provide an example
>>
>> Carmen
>>
>> On 4/27/2022 10:04 AM, Sasso, Len wrote:
>>> Is it possible to send an email with a Zip file as an attachment, from our
>>> mainframe (z/OS 2.3) executing IEBGENER via SMTP?
>>> If so, could you please provide an example?
>>>
>>>
>>>
>>>
>>> Thank You and Please Be Safe!
>>>
>>> Len Sasso
>>> Systems Administrator Senior
>>> CSRA, A General Dynamics Information Technology Company
>>> 327 Columbia TPKE
>>> Rensselaer, NY 12144
>>>
>>> TEAM: Together Everyone Achieves More
>>>
>>> Office Hours: M-F 7 AM - 3:45 PM
>>>
>>> Vacation:
>>>
>>> Phone: (518) 257-4209
>>> Cell: (518) 894-0879
>>> Fax: (518) 257-4300
>>> [email protected]
>>> URL:www.gdit.com<http://www.gdit.com>
>>>
>>>
>>>
>>>
>>> ----------------------------------------------------------------------
>>> For IBM-MAIN subscribe / signoff / archive access instructions,
>>> [email protected] with the message: INFO IBM-MAIN
>>>
>>>
>> --
>> /I am not bound to win, but I am bound to be true. I am not bound to
>> succeed, but I am bound to live by the light that I have. I must stand
>> with anybody that stands right, and stand with him while he is right,
>> and part with him when he goes wrong. *Abraham Lincoln*/
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send [email protected] with the message: INFO IBM-MAIN
>>
>> ----------------------------------------------------------------------
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send [email protected] with the message: INFO IBM-MAIN
>>
>>
> --
> /I am not bound to win, but I am bound to be true. I am not bound to
> succeed, but I am bound to live by the light that I have. I must stand
> with anybody that stands right, and stand with him while he is right,
> and part with him when he goes wrong. *Abraham Lincoln*/
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email [email protected] with the message: INFO IBM-MAIN
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email [email protected] with the message: INFO IBM-MAIN
>
>
--
/I am not bound to win, but I am bound to be true. I am not bound to
succeed, but I am bound to live by the light that I have. I must stand
with anybody that stands right, and stand with him while he is right,
and part with him when he goes wrong. *Abraham Lincoln*/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN