Test Data Manager

  • 1.  User written program not returning the value

    Posted Jun 21, 2018 09:45 AM

    Hi,

     

    I am using mainframe CA test data manager to mask files. I have coded a user written COBOL program to do the masking based on some arithmetic. Program does the calculations but it is returning the calculated value. Because of this before and after values are coming same.

    BEFORE STRING 1641861650       
    BEFORE NUMBER 000000001641861650

    AFTER STRING  1641861650       
    AFTER NUMBER  000000001641861650

    How do I return the values to the calling program so that new value is updated?

     

    Thanks,

    Abhinav



  • 2.  Re: User written program not returning the value

    Posted Jun 21, 2018 01:10 PM

    Abhinav,

     

    Could you provide some more details here?

     

    Is the masking failing or your custom application?

     

    Regards,

    Sean



  • 3.  Re: User written program not returning the value
    Best Answer

    Posted Jun 23, 2018 02:24 AM

    Hi Sean,

     

    Masking was failing not the custom application.Value sent from the custom application was accepted not by the main function.

     

    Now the issue is resolved. It is masking perfectly. We have to send same values in both numeric and string variables to the main function along with the length of the value being returned.

     

    Thanks,

    Abhinav