Joined: 06 Jun 2008 Posts: 8319 Location: Dubuque, Iowa, USA
can anyone tell me what i need 2 do....
Since you didn't provide us any details about what you've already tried that doesn't work, the general idea is after your content type statement, your next JCL statement will be a DD name pointing to the file you want to be the attachment, and then a DD name that points to a file that contains a single period in the first byte of the line and nothing else (no line number -- nothing). Your SMTP commands, the file to be the attachment, and the file with the period must all be the same record length and the record length cannot exceed 1000 bytes -- 998 if you allow for the carriage return / line feed required on some systems. This is been done and tested by me on numerous occasions, using both sequential and PDS file members, so it is a known, proven method.