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 procedure prototype and procedure interface.

0 Answers   IBM,


What is library list ?

1 Answers  


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

1 Answers   IBM,


what is command in SFTP which is equivalent to SDUP command in FTP?

2 Answers  


what is rpg ?

1 Answers   IBM,






how do you use commitment control in rpg program ?

1 Answers   IBM,


what is the difference between udate and the system date?

1 Answers   IBM,


Hi.can any body give me the code for this quesiton please.Because i dont have to try to enter the code in to the AS/400 server.Please can anybody give the answer for this question with complete code? A smple RPLE pgm which accepts the starting number and ending number as parameter.It then has to count all the odd numbers b/w the accepted range of numbers and display the results/ Ex:if the input parameters are 11 and 30 the result should be 10(11,13,15,17,19,21,23,25,27,29) Please explain and give me the complete code?

2 Answers   Bally Technologies,


Define the purpose of Factor 1 the Operation Code and *IN15 in following code HI LO EQ C *YMD Test(D) yymmddDate 15

1 Answers  


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

11 Answers   IBM,


how to see the error messages for each command in cl?

2 Answers   CGI,


Is LDA can be access accross the Job?

9 Answers  


Categories