As400 Developer Interview Questions

17 as400 developer interview questions shared by candidates

Some of the questions in detailed Technical F2F that I remember were:- 1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)? 2. A program X calls a batch job Y in between. When the batch job Y is executing, I need to see the value of some variable in the main program X. How can I switch from the batch job Y to the main program X, see the value of the variable I want, and then continue with the batch job Y processing? 3. A screen has one input field called number. whenever the number is inputted, the value gets stored in a file.The file has 2 fields, Value and Sequence. So, if any user has inputted '10', the files will store 10 as value and 1 as sequence. If any user inputs a value, which is already present in the file, a message in the screen appears that 'Duplicate value'. There are 10 users who have opened the same screen in 10 different AS400 sessions. All 10 of them are about to input '50' from the screen at the same time. Since '50' is not in the file, so error message should not appear. But they do not know that others users are also giving '50'. How can we code this scenario so that file will store 50 from all 10 users with sequence number from 1 to 10 without giving error message 'Duplicate value'? 4. How SFLSIZ and SFLPAG differs with all 3 kinds of Sub-files? 5. How to identify whether any job is interactive or batch?
avatar

AS400 Software Engineer

Interviewed at Manhattan Associates

3.8
Sep 19, 2015

Some of the questions in detailed Technical F2F that I remember were:- 1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)? 2. A program X calls a batch job Y in between. When the batch job Y is executing, I need to see the value of some variable in the main program X. How can I switch from the batch job Y to the main program X, see the value of the variable I want, and then continue with the batch job Y processing? 3. A screen has one input field called number. whenever the number is inputted, the value gets stored in a file.The file has 2 fields, Value and Sequence. So, if any user has inputted '10', the files will store 10 as value and 1 as sequence. If any user inputs a value, which is already present in the file, a message in the screen appears that 'Duplicate value'. There are 10 users who have opened the same screen in 10 different AS400 sessions. All 10 of them are about to input '50' from the screen at the same time. Since '50' is not in the file, so error message should not appear. But they do not know that others users are also giving '50'. How can we code this scenario so that file will store 50 from all 10 users with sequence number from 1 to 10 without giving error message 'Duplicate value'? 4. How SFLSIZ and SFLPAG differs with all 3 kinds of Sub-files? 5. How to identify whether any job is interactive or batch?

Viewing 1 - 10 interview questions

Glassdoor has 17 interview questions and reports from As400 developer interviews. Prepare for your interview. Get hired. Love your job.