VERIFIED SOLUTION i

Installing MailStream Plus on z/OS (MVS) resulted in a condition code 12 error and too few modules getting loaded into the PDSE Load library

MailStream Plus™ on z/OS platform
 

Issue

When the user ran the IDSINSTL installation JCL, it errored with condition code 12 on a 'RECEIVE' step, and did not have the correct number of modules in the PDSE library.
IBM says-
In OS/VS COBOL, if a COBOL library subroutine detects a serious error at execution time (for example, a SYSOUT DD statement is missing), ILBOSRV1 sets the return code and the JOB STEP COMPLETION/ CONDITION CODE to 12 (CC12) upon terminating the run unit"

The user noticed that he only got 37 modules in the PDSE library, where-as he should have got more.  (105 for the MailStream Plus™ 8.3.7 version.)
 

Cause

It was determined that the customer had manually FTP'd the files to the z/OS machine, and erroneously had the settings to include Cr/Lf's (Carriage Return/Line Feeds).  The IDSINSTL JCL contains a section 'FTPFRLAN' to automatically transfer the files, but some users choose to or need to manually transfer them.
The Installation Guide has these instructions when manually transferring them-

//*  * REPLACE THE 'FTPFRLAN' STEP WITH YOUR FILE TRANSFER PROTOCOL* *
//*  * METHOD IF YOU DO NOT USE "FTP".                             * *
//*  *                                                             * *
//*  * IF YOU DO NOT HAVE A "BATCH FTP" FACILITY, SIMPLY UPLOAD THE* *
//*  * FILES THAT ARE IN THE FTP "GET" COMMAND TO THE MAINFRAME    * *
//*  * WITH THE FOLLOWING SETTINGS IN YOUR FILE-TRANSFER MECHANISM:* *
//*  *                                                             * *
//*  * - ASIS    - BINARY TRANSFER (THE FILES ARE IN EBCDIC FORMAT)* *
//*  * - NO CRLF - NO CARRIAGE RETURN/LINE FEED                    * *
//*  * - RECFM   - FB (FIXED-BLOCK)                                * *
//*  * - BLKSIZE - 1600                                            * *
//*  * - LRECL   - 80                                              * *

Resolution

UPDATED: January 30, 2019
The user deleted all of the installation files, and did the entire install process again, this time without the Cr/Lf setting.  The correct number of modules resulted, with no errors.  And the MailStream Plus software worked ok.