We are trying to email using SMTP. We have used SYSOUT=(B,TCPSMTP) command. The input is a sequential dataset with multiple mail messages separated by dot(.) The functinality that we are trying to develop is to send individual mails at one go using the input file. Although we are succesful in sending the mail but the program abends with S722 mentioning no space in Sysout. Now the sysout we are referring is not the sysout of the main JCL but the sysout that SMTP uses internally before shooting the mail out. Does anyone have any idea on how to increase the sysout limit of smtp utility.
Joined: 06 Jun 2008 Posts: 8279 Location: Dubuque, Iowa, USA
Contact your site support group and have them modify the TCPSMTP started task, per the 722 message description in the manual:
Explanation: One of the following output limits was exceeded:
The output limit specified by the OUTLIM keyword on the SYSOUT DD statement
The job output limit specified in the LINES and CARDS parameters of the JES2 JOBPARM statement
The job output limit specified in the BYTES, CARDS, LINES, and PAGES parameters on the STANDARDS initialization statement or the JES3 MAIN statement
System Action: The system ends processing of the job step.
Application Programmer Response: Check for input/output (I/O) loops. Verify that the parameter value does not conflict with any installation requirements. If no errors are found, increase the value in the statement. Then run the job again.
Since the standard SMTP started task includes multiple DD statements pointing to SYSOUT=*, but no DD name SYSOUT per se, you have managed to completely hide whatever the issue actually is.