IBM AS400 Interview Questions
Questions Answers Views Company eMail

please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

HCL,

4 16725

what is the difference between the procedure and module in ILERPG?

4 31393

Can we open close file in COBOL any number of times?

Kanbay,

2 13532

01 A PIC 9. 01 B PIC 99V1. 01 C PIC 99. MOVE 1 TO A. MOVE 0.2 TO B. COMPUTE C ROUNDED TO 3/3 + A.

2 6436

can we use cl programming to update or delete physical files

12 47199

Hi friends.. i want to be a IBM MainFrame Professional.. can any body tell me what is requirement for that... i m just BA, MA, and have simple diploma in Computers. what is pre-requisite.

3 5770

use of PUTOVR,OVRDTA,KEEP keywords?

HCL,

2 21759

where we give the MSGSFL in rpg400?

4 12592

how to change the length of the field in a physicalfile?

12 39407

there is any limit to display the members in rpg400?

3 10674

how to display all the members records in a physical file without using ovrdbf?

9 23474

suppose if we want to update the data in cl what we will do?

9 14434

how can we write LF using flatfile.

9 20176

if i have three programs progA,progB and progC .now i call progB from progA. but the progB does not exist . now i want to call progC instead of starting dump. how can we achieve this.

Four soft,

10 18508

wat is the difference between array and multiple occurence data structure?

Four soft,

4 25743


Un-Answered Questions { IBM AS400 }

What is the actual use of fillers?

697


define the purpose of the *cat function?

1274


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2274


I have created a command that display Source file and library. Now i want that when i enter library name and press f4 on Source file, pgm should display all the PF- SRC's in that Library. For F4 option i have used Choice program but since only limited paramters are passed in Choice pgm i am not able to paas library name and further can't call a pgm that will display list of Source files. Below is the Code snippet for CMD type object :- CMD PROMPT('Source Scan for HUB Standard') PARM KWD(SOURCE) TYPE(*CHAR) LEN(1) RSTD(*YES) + VALUES(N A) MIN(1) + CHOICE('N,A') PARM KWD(SRCFILE) TYPE(FILE) RSTD(*NO) + PROMPT('SOURCE FILE') FILE: QUAL TYPE(*NAME) LEN(10) RSTD(*NO) EXPR (*YES) + CHOICE(*PGM) + CHOICEPGM (XXXXXLIB/YYYPGM) QUAL TYPE(*NAME) LEN(10) DFT(*LIBL) + SPCVAL((*LIBL)) EXPR(*YES) PROMPT ('Library') Below is the Choice pgm:- PGM PARM(&PARM1 &PARM2) DCL VAR(&PARM1) TYPE(*CHAR) LEN (21) DCL VAR(&PARM2) TYPE(*CHAR) LEN (2000) IF COND(%SST(&PARM1 1 10) = 'CHOICE ' *AND + %SST(&PARM1 11 10) = 'SRCFILE ' *AND + (%SST(&PARM1 21 1) = 'C' *OR %SST (&PARM1 + 21 1) = 'P')) THEN (DO) /* (%SST(&PARM1 21 1) = 'C' *OR %SST (&PARM1 + */ CHGVAR VAR(&PARM2) VALUE('Name, F4 for List') ENDDO IF COND(%SST(&PARM1 1 10) = 'CHOICE ' *AND + %SST(&PARM1 11 10) = 'SRCFILE ' *AND + %SST(&PARM1 21 1) = 'P') THEN (DO) CHGVAR VAR(&PARM2) VALUE('Name, F4 for List') CALL PGM(GTSQL) PARM ('XXXXLIB') return ENDDO Thanks in Advance for looking into.

3248


Explain the difference between search and searchall?

669


how many maximum spaces could be given in o specs?

811


when would you use or not use this approach?

1188


Explain the input procedure and output procedure?

679


What are the types of data structure in as400?

753


How to create a link between multiple maps in a mapset?

54


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

823


what are different types of substems?

1681


In RPG How to read a records from a file without using read opcodes?

1265


Can we concatenate fields in physical file? If yes how can we do?

770


What is the maximum number of subfiles that can be specified in a display file?

1542