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

What is the purpose of the following I UDS I 1 60ORDER# I 7 90LINE#

1 Answers  


why we use binding directory and service pgm

4 Answers   TCS,


What is the draw back of Procedures? why we are going to Modules?

0 Answers  


We have seen no of parameter list but If we mention like this 'CALL PROGNAME PLIST ' how to know No of parameter name of program ?

2 Answers   IBM,


what are the two record formats a subfile contain ?

1 Answers   IBM,






why is as/400 called object oriented machine?

1 Answers   IBM,


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

0 Answers  


How to read data from *LDA (Local Data Area) in RPGLE program without using IN opcode?

1 Answers  


what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?

3 Answers   CTS,


what is a physical file?

1 Answers   IBM,


what does vldcmdkey means?

0 Answers   IBM,


What is the purpose of SFLNXTCHG keyword in a subfile?

1 Answers  


Categories