IBM AS400 AllOther Interview Questions
Questions Answers Views Company eMail

How do I remove a flag or check no. or name when a user opens too many sessions?

1764

write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")

Bally Technologies, Cognizant, Vertex,

6 18215

How can we find from which source the program has been compiled for a given RPGLE program object?

5 13687

Please give me the code for A=A+1 in cl program?

2 6022

what is the correct about QTEMP library(below mention)? a.it is Unique to a job b.it can be shared between different job c.it can only be deleted by QSECOFR d.Non Please give me the answer for this?

Wipro,

8 10801

An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can we update this file? Please explain?

3 11681

A phisical file has two fields like 1) Account No(10,0) 2)Phone No(15,0)Unique on both fields?Please give me the answer for this?

3 6415

What would be the output of the variable result? D RESULT S 5S O INZ(00011) C EVAL RESULT = %TRIM(RESULT) Please give me the correct answer for this A.0001 b.compile time error c.11 d.Runtime error

5 6449

How do you read a subfile record which is in output mode?

3 9300

I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?

Mind Tree,

13 17437

Can anybody know what is Pick/Basic? Is it a programming language? can it be used in AS400 machine?

2 7505

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these keywords is necessary. (2)If we will not define these two keywords (PGMand ENDPGM) then any error will be come or not.

FIS, IBM, Virtusa,

5 19413

Q. Soppose one job is running in a batch mode for long time now i want to kill(end)this batch job.How you will achive this?

IBM,

4 10275

Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?

IBM,

3 8783

how to change job priority when it is running in sub system ?

IBM,

11 27821


Post New IBM AS400 AllOther Questions

Un-Answered Questions { IBM AS400 AllOther }

Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

1920


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2247


what is the necessary keyword for non-join logical file?

1153


which are the query selection criteria, which can be given in a query?

659


If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?

1472






what does vldcmdkey means?

802


when would you use or not use this approach?

879


what are the uses of factor1, factor2 and result field for the rpg operation code parm?

572


What is the Difference between command attention key and command function key ?

759


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

990


define the purpose/use for sflrna?

988


what is the maximum number of records you can specify in a display file?

1096


what the purpose of ovrdta, ovrata keywords?

1152


how to develop some simple graphs (bar charts) using just html?

656


what is sflpag and sflsiz ?

2253