DevOps Automation

 View Only
Expand all | Collapse all

Replace Tokens MVS - Multi Line Token

  • 1.  Replace Tokens MVS - Multi Line Token

    Posted Thu July 08, 2021 06:56 PM

    Hi,

    I'm using Replace Tokens MVS (v53) on on my UCD 7.1 server. I have a token in a flat file on z/OS that I'm trying to update - , I only get the first line of my email text displayed.

    This seems to behave contrary to how JCL token over-writes work. When I have a JCL token in my SYSIN for NEWCOPY for example, I can continue to stick as many NEWCOPY statements in my JCL as I'd like as long as I have a \n on the end.

    Has anybody successfully done a Replace Tokens MVS with a multiple line parameter?


    #Support
    #UrbanCodeDeploy
    #SupportMigration


  • 2.  RE: Replace Tokens MVS - Multi Line Token
    Best Answer

    Posted Fri July 09, 2021 04:14 PM

    Currently the plugin does not have support to replace a token with Multi line string in 'Replace Token MVS' step and it expects tokens to be separated by a newline.


    #SupportMigration
    #UrbanCodeDeploy
    #Support


  • 3.  RE: Replace Tokens MVS - Multi Line Token
    Best Answer

    Posted Fri July 09, 2021 04:42 PM

    Hi Senthil,

    Very unfortunate. I also tried the same with the Replace Tokens USS and got the same results. I've even tried to create a file in USS with Create File in the FileUtils plugin - and cannot seem to get my multi-line parameter (with \n embedded inside) to print to multiple lines.

    Are there any plans to upgrade these tools in the future?


    #UrbanCodeDeploy
    #Support
    #SupportMigration