Skip to Content
avatar image
Former Member

Truncating last three characters in Mainfram GDG dataset.

Hi Folks,

I had developed a scenario IDOC - > XI -> File and this file is generated on Mainframe system as a GDG dataset . I was able to generate the file but last three characters are getting truncated for each record in the file(dataset). From XI we are sending them correctly but on Mainframe system these last three characters are getting truncated.

For generating a file i.e. GDG dataset on Mainframe system I am using Fixed field lengths, my record length is of 254, and I am not missing any of the field length in fixed field lengths.

When I use BINARY format I am able to get the complete record but in TEXT format I am unable to have the last three characters in a record.

Is there any record size restrictions to 255 in Mainframe GDG dataset while generating the dataset ? If so, how can we overcome this situation?

Please help me....

Thanks,

Vijay.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 09, 2008 at 03:53 AM

    Hi

    Record set is not limited to 255 i think.

    If you are using FCC for generating this file at Mainframe

    use

     Field.fixedLengthTooShortHandling as Ignore

    Thanks

    Gaurav

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Vijay,

      FTPUtility is not recognized as a module when we attempted with the parameters to create mainframe file with the given allocation. In our case, we can create the file with default allocation parameters which is VB record format. We would like to create it in FB format.

      Is FTPUtility a standard module in Local Enterprise Bean or specially added one in your adapter. How do we set it up?

      We prefer this method of configuring parameters with module processing, rather than create scripts in OS commands, before or after the file creation. We don't want to use OS Command scripts.

      Any help will be appreciated!

      Thank you!

      Amith Dharmasiri