SAS Office Analytics, SAS Add-In for Microsoft Office, and other integrations

z/OS: Moving SAS source code from Windows to z/OS

Posts: 0

z/OS: Moving SAS source code from Windows to z/OS

Hi All,

I have developed a SAS ETL job on Windows developement environment and deployed it on Test environment on z/OS using FTP.

I observed that when the source code is transferred to z/OS though FTP, all the pipe characters ("||") used in the SAS job for concatenation operation are converted to the unwanted junk characters. (In most of the case by character "@@"). Due to these unwanted characters I am getting error during SAS Job execution. To avoid it, every time I transfer the source code, I need to replace these characters manually.

Is there any way by which we can transfer the SAS sources to z/OS without such character replacements.

Please suggest.

Thanks and Regards
- Kapil Agrawal
Super Contributor
Super Contributor
Posts: 3,174

Re: z/OS: Moving SAS source code from Windows to z/OS

I would recommend using alternative characters, whenever possible, such as !! for concatenation, instead ||, and also avoid the "not sign" and choose mnemonics like NE instead of ^= depending on your code.

The FTP problem relates to the system-default codepage that's being used when transfering to z/OS (IBM mainframe). Research your options to override the codepage as needed, if you choose to continue with these special characters.

Scott Barry
SBBWorks, Inc.
Ask a Question
Discussion stats
  • 1 reply
  • 2 in conversation