Importing AS400 data via SISS doesn't like substr

  • Hi,

    I'm pulling data in from an AS400 system using a SSIS package and had to amend the import AS400 select statement.

    The new version adds the following clause which SSIS doesn't like...

    where (substr(M1DATE,3,2) ||'/' ||

    substr(M1DATE,5,2) || '/' ||

    substr(M1PDATE,1,2)) >= date(curdate())

    does anyone out there know if SISS recognises the substr function. As I said, it works fine without it.

    I'm connected to AS400 through an IBM ISeries connection which is configured correctly.

    Any help welcome.

    Eamon

  • Hi,

    after playing with this I have learned that the substr function is ok and the problem is with the date(curdate()) part of the clause.

    so, the original question should be.....has anyone experienced this problem before?

    Any help welcome.

    Eamon

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply