ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

What is the correct way to do this?

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

  • What is the correct way to do this?

    PHP Code:
     for count 83 to 85;    
      *
    in(count)= *on;        
     endfor; 
    All my answers were extracted from the "Big Dummy's Guide to the As400"
    and I take no responsibility for any of them.

    www.code400.com

  • #2
    Re: What is the correct way to do this?

    If you are using the indicators for a display file, then I would probably overlay an indicator array over the field names in the INDDS data structure.

    If you are not using the indicators for a display file, you should be flogged.
    Michael Catalani
    IS Director, eCommerce & Web Development
    Acceptance Insurance Corporation
    www.AcceptanceInsurance.com
    www.ProvatoSys.com

    Comment


    • #3
      Re: What is the correct way to do this?

      Flogged AGAIN...Crap thats 4 times this week...

      There are on a display (errors)

      jamie
      All my answers were extracted from the "Big Dummy's Guide to the As400"
      and I take no responsibility for any of them.

      www.code400.com

      Comment


      • #4
        Re: What is the correct way to do this?

        C MOVEA X'F1F1F1' *IN,83

        Seriously, what's wrong with your code ? (except what pointed Michael)
        Jean-Michel

        Comment


        • #5
          Re: What is the correct way to do this?

          What about:
          PHP Code:
           /Free
             
          %SubArr(*IN833) = *On;
           /
          End-Free 

          Comment


          • #6
            Re: What is the correct way to do this?

            PHP Code:
             /Free
               
            %SubArr(*IN833) = *On;
             /
            End-Free 
            That reminds me the nasty MOVEA.
            Last edited by Mercury; February 19, 2010, 05:54 AM.
            Philippe

            Comment

            Working...
            X