Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. badapplebob

    RPG/400 Data Structures

    RedMage, Thxs for your help! Unfortunately I don't know RPG(IV) so it's all a bit of a learning process! Cheers BOB
  2. badapplebob

    RPG/400 Data Structures

    I was looking at some old code and trying to decipher what it means. I'm pretty much a novice when it comes to RPG/400. Originally a COBOL programmer!!
  3. badapplebob

    RPG/400 Data Structures

    Hiya, I talking about where you declare a data structure (DS) in I-Specs. eg. ISQ1 DS 360 I 1 360 S1 INQ2 DS 54 I 1 540N2 Could anyone give an explanation of...
  4. badapplebob

    RPG/400 Data Structures

    Hiya, Could someone be kind enough to give me a basic understanding of data structures in RPG/400.
  5. badapplebob

    Looping structures in RPG/400

    Yep - well it was my friends bit of code. Can't get the staff hey! Bob :)
  6. badapplebob

    Looping structures in RPG/400

    Yep - well was my friends bit of code. Can't get the staff hey! Bob :)
  7. badapplebob

    Looping structures in RPG/400

    As clear as a mountain stream. Thanks Pete! This is how I thought it would work - Effectively like the for(;;) contsruct in C. Regards, Bob
  8. badapplebob

    Looping structures in RPG/400

    Hi there, So do you mean that you have to go through the logic cycle to use it. The code was taking 6 numbers from a display file. Thanks, Bob
  9. badapplebob

    Looping structures in RPG/400

    Hello everyone, Recently I saw some code in the C-Specs that had DO *HIVAL some code... ENDDO And I was confused as to why and how this would work. Is it similar to the construct in C where you have for(;;) { if 1=1 break; } Any ideas would be much appreciated!! Thanks, Bob
  10. badapplebob

    RPG/400 Question:declaring variables

    Thanks for that vbmax!
  11. badapplebob

    RPG/400 Question:declaring variables

    Hiya, Thanks for your reply - but my question was in relation to RPG/400. There doesn't seem to be a way to declare a variable before using it! Thanks, BOb
  12. badapplebob

    RPG/400 Question:declaring variables

    Hi everyone, I have a question regarding declaring variables in calculation specs. I know that you can declare a variable in a result field of a calculation and then specify (if numeric, length + decimal places) or length if alphanumeric. But can you declare a variable as a standalon e in...

Part and Inventory Search

Back
Top