ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

how to use it in rpgle

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to use it in rpgle

    Move ctldt1 of date-control-record to control-date-from.

  • #2
    Re: how to use it in rpgle

    geez...get real dude. looks like it's moving an input field (likely from a screen) to a output field... ever hear of EVAL
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment


    • #3
      Re: how to use it in rpgle

      hi

      am asking about hypen...tom

      Comment


      • #4
        Re: how to use it in rpgle

        Code:
        D  Date_Control_Record...                                                         
        D                 DS                  qualified                                   
        D   Ctldt1                       8a                               
                                                                                          
        D Control_Date_From...                                                            
        D                 S              8a                                               
                                                                                          
        C                   Eval      Control_Date_From=Date_Control_Record.Ctldt1 
        
         // Or in free style       
         /free                                                                                 
              Control_Date_From = Date_Control_Record.Ctldt1;
        is about the like in RPG IV of the cobol statement "Move ctldt1 of date-control-record to control-date-from.".

        Hyphens are only allowed in computation statements, f.e. Eval C = A - B
        Philippe

        Comment


        • #5
          Re: how to use it in rpgle

          Originally posted by rajapandian View Post
          hi

          am asking about hypen...tom
          then why didn't you say that?
          I'm not anti-social, I just don't like people -Tommy Holden

          Comment

          Working...
          X