send a large file via SAS email option

Ask questions about any other mainframe topics which are not covered above

Moderator: Moderator Group

Post Reply
sumit_mainframe06
Member
Posts: 8
Joined: Wed Jul 28, 2010 12:57 pm

send a large file via SAS email option

Post by sumit_mainframe06 » Fri Jan 07, 2011 11:37 am

Hi all,

PLease help me with the below mentioned problem.
My requirement is that i want to ftp a large mainframe file to my mail through the email option available in SAS.
i am using the below code.

FILENAME MYMAIL EMAIL 'QC TEAM'
SUBJECT='COMMERCIAL REPORT FOR ALL THE FIELDS. '
ATTACH=("large mainframe file" EXT='TXT' LRECL=27500 RECFM=F)
;
DATA _NULL_;
FILE MYMAIL
TO=('my mail id')

;
PUT 'HI, ';
RUN;

but the code is giving some "ERROR: Undetermined I/O failure.".

Please assist me the correct solution.

Thanks
in advance,
Sumit

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others