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!!
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...
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
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
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.