This is the original standard date calculation I was using. I need to change the number of months to a variable that I'm getting from a DTAARA. Value is zoned.
The error I get isDate, Time or Timestamp value is not valid. I can't find a way to change the one or two digit value to a 'date' field
Data area value us currently alpha and defined '12'. I change the value to %Dec in the program.
The NHSNDDTE is an 8 0 zoned value in the format 2013120.
Any ideas at all
$WrkSndDat = %Dec(%Date(NHSNDDTE: *ISO) + %Months(12));
ISeries RPG Free Format
September 5, 2013 8:24 PM
September 6, 2013 4:09 PM