I have Cycle Program with embedded SQL that updates table using display file. What do I have to do to create a module, so it will be compiled to *PGM object?
Thanks! We'll email you when relevant content is added and updated.
Hi all, Unfortunately I have to understand old days code written in RPG2. That code also use Extension specifications which I never used before (as I am programming in ILE). I have searched on net it only refers me to a book written in 79 which contains dull E-specs maps which I don't understand....
Thanks! We'll email you when relevant content is added and updated.
When a trigger program is locked because the physical file is locked, how can we promote a program through MKS when it is locked. We have over 40 warehouses with a copy of the same file so getting everyone out of the individual files would be a chore. Can we use a CL for the trigger program or is...
Thanks! We'll email you when relevant content is added and updated.
I want to write a program that will retrieve any field(s)from any file on the iSeries. The only part I haven't figured out is how to code the fetch statement to populate variables that aren't known until execution time
Thanks! We'll email you when relevant content is added and updated.
I know how to declare a file and read through the data in CL....but how can you reset it? Like setll in CL. I have searched and searched but nothing works. I have closed opend...etc.. Any ideas? Example: PGM DCLF FILEA Loop: RCVF FILEA If %EOF ne '0' DO Goto Loop: Enddo. Now I want to read through...
Thanks! We'll email you when relevant content is added and updated.
1) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' accepts 3 parameters. But i need to call PGM 'B' without passing parameters. How to achieve this??? 2) I have an RPG PGM 'A' which call's another RPG PGM 'B'. PGM 'B' doesnot accept parameters. But i need to call PGM 'B' with...
Thanks! We'll email you when relevant content is added and updated.
I have a type 9406 model 170, serial nr 65A14SA which runs over 500 programs in RPG II in s36 mode. As from jan 1th 2018 IBM withdraws my service contract for this machine. Our machine was the last model that could run RPG II programs in S36 modes on AS/400. Without service, we can't use the...
Thanks! We'll email you when relevant content is added and updated.
We update a few fields in every record on a file with over 13 million records. Masking a copy of production data on a performance test environment. It is run on a two processor 595 box under OS7.1. The job runs for about 36 hours. If I wrote an RPG program, I would open the file non-keyed to...
Thanks! We'll email you when relevant content is added and updated.
I'm attempting to run STRDBG on a free RPG program. It calls a subprocedure with a parameter and will send a value back to the program. But as soon as the call happens, the subprocedure ends with that error. I've read that STRDBG can't be used with subprocedures that have parms. But I cannot find...
Thanks! We'll email you when relevant content is added and updated.
I have been playing around with things like creating 3D walkthrough worlds and some game development. I see that Unity 3D supports a few scripting languages like C# 80%, Unityscript(javascript) 19% and Boo 1%. Being an RPG developer for 30+ years and for the past 5, developing web services in...
Thanks! We'll email you when relevant content is added and updated.