IBM AS400 Interview Questions
Questions Answers Views Company eMail

What is I90(Insure 90)?

1 17853

please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code

Virtusa,

4 6460

can anybody explain significance of *loval setll with example code????

HSBC,

3 12494

how can we can we the data decimal error?how can we open such file in support

1 2341

It's possible use %TRIM statement like rpgile?

2 4802

I like to know if possible to use %TRIM or any statement with prefiv "%" like RPG ile programs. thanks

2058

i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

HSBC,

3 5499

why subproc not run in dftactgrp?????/plz explain

CSC,

2 6825

what is *place and *auto keyword in prtf ?plz explain

CSC,

2713

what is batch debug in as400?

3 10104

i want to retrieve record b/w 2 dates in as400

L&T,

2 6970

write a cobol program to display prime numbers between 1 to 100?

Cap Gemini, NISA,

5 27931

1.I Have a physical file , i want to read the data from the each and every member of the File in the CL Program.How do you achieve this. 2.How do you do the same in RPG?. do think is it possible to read data from all the members in the RPG?

Cap Gemini,

2 6653

1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?

Cap Gemini,

5 10567

1.How to load Records of a Physical file(PF) in the reverse order, in CL program?

Cap Gemini,

2 7581


Un-Answered Questions { IBM AS400 }

What are fillers? What is the actual use of fillers? With mall/simple example?

545


how many specifications are there in rpg/400? What are they?

1080


WHAT IS AS/400 SYNORIO?

2882


How to update physical file using logical file with example?

579


What is sort?

531






Explain the types of perform?

521


How can we override a file during runtime in rpg?

677


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2032


is there any way to dynamically merge other html scripts into a given html?

596


How to reverse the string in rpg

1198


how can a cgi check whether an ifs object is available?

635


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.

3030


Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?

7416


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2407


Difference Between Source Physical File & Physical File?

631