Quantcast
Channel: IT Answers » DB2 Universal Database
Viewing all 21 articles
Browse latest View live

AS400

$
0
0

hi,
i want to know about the answers of these questions..

1.)
If any data has been deleted from the PF then how can we recover that and what are the limitiations for that.

2.)
If in run time user want to choose the Access Path of a PF then how can it be possible.


Source Modified User

$
0
0

Hi All,

If 4 users works on in same library in one source file, How could we know which user has modified a source?

Thanks
Reddy

Backward compatibility on OS level V4R4 to V4R3

$
0
0

Have a question on backward compatability. Currently we moved some historical JD Edwards data that was on an AS/400 running OS400 V4R5 to a machine running V4R4. Now, we want to move this to another AS/400 that is running V4R3. Now, from V4R5 to V4R4 we havd no problems. I’m not sure if we can take it another release back. My questions is what are the differences between the two operating systems (V4R4 and V4R3). Is this possible? Also, what are the differences between the two RPG versions, if any. Might we run into problems there with compiler or code issues. Are there other differences that could be potential road stoppers. Thank you in advance for any help you can give.

Brian Muraski
Brian.Muraski@gerber.com

bi-directional data synchronization on System i for db2 databases

$
0
0

I would like to know what would be the best ways to have bi-directional data synchronization on System i between db2 databases . What are the best ways to
synchronize data between DDS and SQL-defined files that belong to different applications?

Cannot end RGZPFM on V5R4 (Journaled file)

$
0
0

Batch job RGZPFM on V5R4 not complete after 3 days. I issued an ENDJOB, and job is not completely ended 1.5 days later. The file is journaled and is very large. SBMJOB CMD(RGZPFM FILE(MYLIB/MYFILE) KEYFILE(*NONE) ALWCANCEL(*YES) LOCK(*SHRUPD)) How can I end this job? If MYFILE is damaged, I can delete it and restore it from a backup. I just need to end the job.

OLE DB using Library List

$
0
0

Hi,
Do any one use OLE DB to connect to iSeries?
Is OLE DB capable of using Library List provided by Job Description?
Because when I used it, I have to specify the library name / schema and object name.
Please advice…

Thank you

DB2 and talend

$
0
0

I do get the error below when i try to load table in DB2 iseries through ETL tool Talend

[IBM][iSeries Access ODBC Driver]Column 6: CWB0111 – A buffer passed to a system call is too
small to hold return data

can anyone guide me what could be the error

DB2 update query giving error STRING REPRESENTATION OF DATETIME VALUE HAS INVALID SYNTAX.

$
0
0

The following sql query in DB2 is giving the exception. What can be the correct query for this in DB2?
SQLQuery=update EMP set validityenddate=’01-JAN-07′ WHERE username=’XYZ’

Exception:
msg=java.sql.SQLException: [DataDirect][ODBC DB2 Wire Protocol driver][UDB DB2 for Windows, UNIX, and Linux]STRING REPRESENTATION OF DATETIME VALUE HAS INVALID SYNTAX.


How to limit the number of application connections in DB2?

$
0
0

I want to limit the number of application connections to 1 in DB2 server. And try connecting with 2 applications to check the behavior?

What are the possible situations where DB2 server FORCES to close the applications connected to it?

$
0
0

Possibile situations where DB server forces to close the applications connected to it?

Some of the situations can be :
DB2 restart,
DB2 stop,
DB2 suspend.

What else situations in DB2 server forces to close the applications connected to it?

Your help is greatly appreciated !

Authorization problem on DDM file in RPG program

$
0
0

I have a RPG program that accesses three DDM files on another iSeries. The program compiles, but I receive error CPF9822-Not authorized to file XXXX in library XXXX.
Cannot open DDM file. I have *SECOFR rights on both machines. Can someone help me?

SQL Errr

$
0
0

Hi I am a novice to SQL and I was hoping someone can tell me where I’m going wrong. I have a small sql statement that keeps giving me an error message. Can any one help please. Thank you in advance.

Dawn

> UPDATE AMFLIBT.MOROUT SET OPSTC = 40 WHERE (select AMFLIBT.MOROUT.ORDNO, AMFLIBT.MOROUT.OPSEQ, AMFLIBT.MOROUT.OPSTC, amflibt.morout.wkctr, amflibt.momast.ostat, AMFLIBT.MOMAST.FITEM FROM AMFLIBT.MOROUT INNER JOIN AMFLIBT.MOMAST ON AMFLIBT.MOROUT.ORDNO = AMFLIBT.MOMAST.ORDNO where fitem = ’300.605.407.8′ and opseq < ’0047′ and opstc = 10 and wkctr = ‘INFO’ and ostat <> 10)

SQL State: 42601
Vendor Code: -104
Message: [SQL0104] Token <END-OF-STATEMENT> was not valid. Valid tokens: < > = <> <= !< !> != >= ?< ?> ?= IN. Cause . . . . . : A syntax error was detected at token <END-OF-STATEMENT>. Token <END-OF-STATEMENT> is not a valid token. A partial list of valid tokens is < > = <> <= !< !> != >= ?< ?> ?= IN. This list assumes that the statement is correct up to the token. The error may be earlier in the statement, but the syntax of the statement appears to be valid up to this point. Recovery . . . : Do one or more of the following and try the request again: — Verify the SQL statement in the area of the token <END-OF-STATEMENT>. Correct the statement. The error could be a missing comma or quotation mark, it could be a misspelled word, or it could be related to the order of clauses. — If the error token is <END-OF-STATEMENT>, correct the SQL statement because it does not end with a valid clause.

using SQL statements…………..

$
0
0

Hi All,

I have a problem.
I have a string variable STR which contains SQL statements……
Like
insert into lib1/fil1
select * from lib2/fil2
variable STR is changable…means I update the values of library and files at run time…in the variable STR..

I want to execute the SQL statements contained in string STR…
How can I please suggest some approach….

AS400 File Transfer using RUMBA Office V 7.3.0

$
0
0

We use RUMBA Office V 7.3.0 for AS/400 Display. We would like to restrict certain users from using the RUMBA AS/400 to PC File Transfer. Is there a way we can do this from the 400? The only reason that I ask is that we are a corporation and have more than 70 AS/400′s. A user can use a sign on with *Signoff as the Initial Menu and still be able to transfer data from the 400 to their PC. This question is for any database gurus out there. If a user is transferring a file using the file transfer is there a chance that they could lock a file, thus halting production?

Any help you can provide would be much appreciated.

David

Access Oracle/Sybase/Informix from RPG

$
0
0

Hi,

I would like to access Oracle/Sybase/Informix directly from within an RPG program. This is something similar to ODBC but in reverse – my data source is external to the iSeries and my application and APIs, or called routines, internal in the iSeries.

The access to the external database should:
1. Not employ another server. The complete solution must reside in the iSeries.
2. Be coded in RPG(LE) – not in C++ or Java. C++ or Java routines or classes can be called from RPG(LE).
3. Access to the external database must be realtime. The data must NOT periodically be copied onto the iSeries through FTP or something similar.
4. The solution should, if possible, not implement DRDA.

I found ‘Information Integrator’ on the IBM web site but don’t yet know if this will do the job. It is however hellish expensive.

Does anyone know if:
1. This is possible
2. How it can be done

Any help will be appreciated.

Best regards

JohnDavid


Converting from System 36 to iSeries V5R4

AS/400 – iSeries SQL Update of on table with values from another joined table

My operating system was upgraded from V5R3 to V5R4

Deleted user profiles in AS/400

Operating Console

$
0
0
New Discussion Post by excellentrandy
Viewing all 21 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>