Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can w..

Answer / anjali thakare

Yes it is possible if ur query is created accordingly like

In QPNQRYF command, when u crete it specify this following
open option as *upd if it is not then ur not update
it.
Open options . . . . . . . . . . *INP *ALL,
*INP, *OUT, *UPD, *DLT

Is This Answer Correct ?    15 Yes 1 No

An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can w..

Answer / vikas

Yes we can update file.

Is This Answer Correct ?    2 Yes 1 No

An rpg program is processing an openquery file.The file is declared in update mode in F spec.Can w..

Answer / danny

No..Because we are going to receive CPF5149 error when trying to do so.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is a composite key?

1 Answers   IBM,


I want to run ls *.csv (sftp command) from CL Program... Can u plz tell me when SFTP command will start running? i.e.which command should I use in CL Program to run ls command?

2 Answers  


what is scan and xlate?

1 Answers   IBM,


Describe the function of SETGT operation in RPG language?

1 Answers  


what is a non-join logical file?

1 Answers   IBM,


What is the Function of PDM?

1 Answers  


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 Answers  


can you have multiple key lists for a single file ?

1 Answers   IBM,


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

0 Answers  


What are the steps to retrieve the records from Journal file...?

1 Answers  


can u plz tell me is there any difference between SHELL SCRIPT & SFTP SCRIPT? I want to run LS & GET(automatically) command from CL program....which script can be used?

1 Answers  


How Many Specs Are There In Rpg & Which Are They?

0 Answers   IBM,


Categories