in Education by
I have been trying to connect to my prod server from my dev using connect to remote (which gets connected) I am then trying to query a file in one particular library which exists on the remote server and is queryable on my server. i am using the set current schema to set the library to the required one.which sets it However i am unable to query the file error code sqlcod -204 ,sqlstte 42704 I am using the *sys naming convention. My seq of operation connect to prod uysing login works set current schema ='lib" works select current_schema from sysibm.sysdummy1 works select * from lib/file :file i nlib *n not found sqlcode -204 Thanks JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
Can't comment yet. Where are you doing the connecting from? Is is ACS, STRSQL, or in a program? Is this production code or are you running diagnostics? If you just want to query prod and your server is in the RDBDIRE, you can simply use the full qualification for the select statement (and any other statement for that matter). Just be aware that if the data is stored on a different IASP, that the connection needs to be defined with that new IASP in mind. Select * from ..; If I am off-base here, please let me know what kind of code you're running that is using connect.

Related questions

0 votes
    The Cookies Preferences box that always appears in the bottom right hand corner of the dataplatform.ibm.com ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 23, 2022 in Education by JackTerrance
0 votes
    I installed Hadoop on the server running CentOs. As I run start-dfs.shor stop-dfs.sh I got the following error : ... I have to do? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    Last few weeks me and few colleagues are encountering crashes of Remote debugger tools in case we're using ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 12, 2022 in Education by JackTerrance
0 votes
    Name some of the organizations which are using IBM Watson Analytics....
asked Feb 22, 2021 in Technology by JackTerrance
0 votes
    I've noticed on Marshmallow (e.g. Nexus 6P) and also on some more recently updated Lollipop phones ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 20, 2022 in Education by JackTerrance
0 votes
    The error ; Execution error (SunCertPathBuilderException) at sun.security.provider.certpath.SunCertPathBuilder/build ( ... Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 2, 2022 in Education by JackTerrance
0 votes
    Using gxt and maven. I can get my project to compile and build a war file. But every time I try ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jan 13, 2022 in Education by JackTerrance
0 votes
    I am having a challenge. I am using Jpos and I am trying to set field 127 sub-element 033 as well as unpacking it. When packing ... isoMsg.getString("127.033")); for (int i = 1; i...
asked Apr 23, 2022 in Education by JackTerrance
0 votes
    what i want : i have a config file where it contains some urls in .json file stored in asset ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 20, 2022 in Education by JackTerrance
0 votes
    I write the following code to access the page but this is not working for me if (User.Identity. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 2, 2022 in Education by JackTerrance
0 votes
    I write the following code to access the page but this is not working for me if (User.Identity. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 2, 2022 in Education by JackTerrance
0 votes
    I know we are all using a bunch of ORMs for SQL, but I wanted to give a try to native drivers. ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    I started Tensorflow some days back and I understand that it is a visualization tool but is there any way to ... remote Ubuntu machine? Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
...