IBM AS400 Interview Questions
Questions Answers Views Company eMail

I want to add 10 days in current date. how it is possible in CL program...?

CSC,

11 42760

How to index LF by relative record no (RRN)

1 6396

How to index LF by relative record no (RRN)

2836

i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF

3 9250

How to read a PF in reverse(from last rec to first) using CL?

HCL,

3 10942

1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

2 5429

Pgm A is invoked through HTTP. It is in Activtion group QILE. Pgm A calls Pgm B and Pgm C. Pgm B is in activation group TEMPACTGRP. Pgm A ends in error. Pgm A is called again. But it gives an error that TEMPACTGRP still exists and files are present in QTEMP. What is the cause and how will u fix?

1 4154

program to find the number of objects used in a given program through a display.

IBM,

2 7626

how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

iGate, Wipro,

3 8349

Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

iGate,

2 5443

what is meant by record lock.how records are locked.what is the purpose of record lock.if records are locked what happens.how to find out which record is locked.

HCL,

4 12830

how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.

iSoft, Wipro,

4 13400

what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.

iGate,

5 6621

thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

iGate,

1899

How to retrieve a physical file after deleting that ? what is keyword used for that....??

6 17814


Un-Answered Questions { IBM AS400 }

how to validate input values in display file ?

671


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

578


Explain how to update data area in cobol 400 program?

578


What is open data path?

583


what is a join logical file?

756






What is sort?

534


Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On

2015


what is xfoot opcode ?

1060


what is the difference between normal upddta to pf and updating using dfu program?

771


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2521


define the purpose of the *cat function?

991


which of the cl command can be used to determine which logical files are dependent on a specific file?

595


To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?

798


WHAT IS FERERENTIAL INTRIGRITY ?

1112


can you specify a display file to be used in the following modes input,output, or combined modes ?

945