On 1/9/2012 4:30 PM, Steve Comstock wrote:

  calculate interval:

(   lmg   R2,R5,datetimen  pick up end times then start times
    slgr  R3,R5
    slbgr R2,R4
    stmg  R2,R3,datetimen   )

  convert interval to format for editing:

(   convtod convval=datetimen,etodval=timestart,timetype=dec,     x
          datetype=yyyymmdd,mf=(e,clist)    )

You're confusing me.  Isn't the CONVVAL input to CONVTOD in
displayable format, whereas you're passing it a value in ETOD
format, the output from "calculate interval"?  CONVTOD will
presume that's a displayable time/date and from there attempt
to convert it to ETODVAL, in ETOD format, giving nonsense.

-- gil

Reply via email to