ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Cannot upload the UCX.MCL file to the mainframe

book

Article ID: 226564

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation

Issue/Introduction

Receiving the error "451-Record is too long to process" when trying to transfer the UCX.MCL file to z/OS. End-of-line characters are not recognized and it is being transferred as a single long string of characters.

 

Cause

The end-of-line issue is due to the UCX.MCL file having been created for *nix platforms where the end-of-line character is simply LF. z/OS does not interpret LF as an end-of-line and needs CRLF.

Environment

Release : 12.3

Component : MVS agent

z/OS

Resolution

The "451-Record is too long to process" error is resolved using SITE WRAPrecord for the FTP transfer.

The end-of-line issue is due to the UCX.MCL file having been created for *nix platforms where the end-of-line character is simply LF. z/OS does not interpret LF as an end-of-line and needs CRLF.

The file was converted to change the end-of-line characters to CRLF which resolved the issue.

Additional Information

The information provided here is for Notepad++. Other applications can be used.

To see the end-of-line characters (and convert them), open the file in Notepad++. 
Under "View > Show Symbol" select "Show end of line" 

The file has the LF end of line characters shown.

To convert them, copy the entire body of the file (Win keyboard 'CTRL+A") 
Close the file, not Notepad++, just the file close. With Notepad++ closing the application does not close and save any files it has open. They remain open in memory:

Under the Settings menu heading, select Preferences. The dialog opens and here you first select MISC, then uncheck 'Autodetect character encoding'

Next, select New Document and make sure the Format (Line ending) is set to Windows (CR LF)

Click on the close button then close Notepad++. Open Notepad++ again, create a new document and paste the contents of the original UCX.MSL file. As "show symbol" is still active, you should now see that the end-of-line character is CR LF.

Save this file as UCX.MSL and replace the original with this one. You can reopen in Notepad++ to make sure the CRLF is in your newly saved file.

The Notepad++ setting can be returned to the defaults at this point with autodetect character encoding selected and show symbol end of line deselected.

Attachments