when this error ocuurs in openqry file
'OPNID(BANKPF) for file BANKPF already exists.'?

Answers were Sorted based on User's Feedback



when this error ocuurs in openqry file 'OPNID(BANKPF) for file BANKPF already exists.'?..

Answer / siva

if the file is alredy open and again if u trying to open the same file than u will get this error
ex : ovrdbf(xxx)
opnqry (xxx)
(


)

ovrdbf(xxx)
opnqry (xxx)

clof(XXX)

Is This Answer Correct ?    5 Yes 0 No

when this error ocuurs in openqry file 'OPNID(BANKPF) for file BANKPF already exists.'?..

Answer / arjun

Default, the OPEN Parameter (OPNID) takes file name as OPNID. But here you are using same name as again. That's why it is showing error...........Try it with other name....IT Definitely work.....Thank you

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More IBM AS400 AllOther Interview Questions

Why we are not able to perform insert delete and update operation in Join logical file?

0 Answers   IBM,


Can we add or remove the module object from service Program..and how...?

4 Answers  


I/o error detected,Record Out of sequence,Permanent I/o error occured....I mean give one eg for these errors...i understand only,update/delete operation without prior read oprn..give details of remaining

1 Answers   CTS,


Specify different indicators used in RPG?

1 Answers  


1) Can we declare a Display file in CL? 2) How many no. of files can be declared in a CL? 3) What is Non-Join Logical file and its importance?

4 Answers   Cognizant,






does we use case stmt in cl

1 Answers  


Can anybody please tell me what is difference between SQL (STRSQL ) and WRKQRY .....?

3 Answers  


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

1 Answers   IBM,


what is the purpose of overrides?

1 Answers   IBM,


How to change file attributes such as size, file wait time, record wait time etc., permanently?

1 Answers  


What is library is as400? What are the types of library?

1 Answers  


What is binder language ?

0 Answers  


Categories