IBM AS400 Interview Questions
Questions Answers Views Company eMail

What is file information data structure(infds) in as400?

966

What is the default access path of a file?

582

What is the difference between non-join logical files and join logical files?

609

What is library is as400? What are the types of library?

1 828

write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

824

How to search particular records from the database file in rpg?

1 1275

Pose, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular name field. How can we do the above using search criteria other than using the if cond?

593

Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

743

What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

547

Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

654

What is difference between rename and prefix?

578

How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?

701

What is comp?

549

What is perform?

533

How to detect record is locked in cobol/400?

534


Un-Answered Questions { IBM AS400 }

what is the purpose of indicators in rpg?

1075


Explain this error: "all record formats for externally-described file abcd ignored or dropped due to error; file ignored."?

743


define what a data queue is along with a brief example of what it may be used for?

1061


Can we debug the MSGW JOBS?

927


How to update data area in cobol 400 program?

576






can you explain the difference between spacea,spaceb,skipa and skipb. I'm new to learning about as400 and printer files. can any one give me an example using source code showing the difference that occurs between using these 4 keywords. A-Physical file PF004 source UNIQUE R RR STUNAM 10 ROLLNU 5 0 MARKS 3 0 SEX 6 K ROLLNU 4 records present in PF004 are STUNAM ROLLNU MARKS SEX KAVYA 12,344 55 FEMALE MADHAVAN 14,579 60 MALE RAMYA 14,785 70 FEMALE KRISHNAN 14,988 72 MALE B-Printer File PRINT1 source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEB(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEB(1) A 20'END OF REPORT' C-RPG/400 Program PRTTPG source FPF004 I F E DISK FPRINT1 O E PRINTER C WRITE HEADER C READ PF004 60 C *IN60 DOWEQ *OFF C WRITE DETAIL C READ PF004 60 C ENDDO C WRITE FOOTER C SETON LR D-spooled file result set Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 STUNAM ROLLNU MARKS SEX KAVYA 12344 055 FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys I have changed from SPACEB to SPACEA now in my printer file source E-Changed PRINT1 Source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEA(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEA(1) A 20'END OF REPORT' F-Spooled file Result Set after keyword change Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 KAVYAM 12344U 055KS FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys Overprinting not displayed.

10216


What is program status data structure(psds) in as400?

605


what is the purpose of putovr (put with explicit override) keyword?

925


where can you specify an indicator in lokup operation?

1133


What is compiler directive in as400? Give example of compiler directive.?

569


what is the purpose of ovrdta and ovrata keywords ?

882


what is the maximum number of parameters allowed in rpg?

1030


Explain the difference between search and searchall?

509


What is difference between bind by copy and bind by reference?

1717


Why we are not able to perform insert delete and update operation in Join logical file?

933