× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Justin:

Not sure exactly what you are trying to do, but QSQGNDLL is an "API" and not a "command". Do you know and understand the difference?

An "API" (or "Application Programming Interface") is a program that you call and pass various parameters to request the system to perform some task or retrieve some information from the system.

If you just want to create SQL DB2 TABLEs and VIEWs, perhaps you might want to try the command "STRSQL" ... this provides an interactive "green-screen" tool for entering and running SQL statements, such as "CREATE TABLE." One thing I like about STRSQL is that you can even "prompt" SQL statements within STRSQL by typing, e.g. "CREATE TABLE" and then pressing F4=Prompt. Try it, I think you will like it.

Eventually, you might want to look into getting the IBM i Navigator running on your PC -- it provides a PC GUI toolset for entering and running "SQL scripts" and commands, and is considered to be a more "modern" alternative to STRSQL.

HTH,

Mark S. Waterbury

> On 7/19/2015 12:11 AM, Justin Dearing wrote:
Hello,

I would like the CREATE TABLE DDL for a PF on my clients V7R2M0 system. I
am QSECOFR on this system. The internet tells me that QSQGNDDL is a
wonderful tool for doing that, and proceeds to tell me that DDL is the
future and DDS is the past, which is great news for me because I'm a PHP
programmer that knows SQL, and not DDS, or RPG.

Unfortunately, this IBMi tells me "Command QSQGNDDL in library *LIBL not
found." This is not great news for me.

http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/qsqgnddl.htm
Indicates that this command still works in V7.2 (also it gave me stern
warnings about the maintenance window). It doesn't say what library it
would be in, or else I'd attempt to edit my library list, which is
something I have not done in a decade, but understand in theory. What am I
doing wrong?

If there is an alternative methodology to "script" a PF to a CREATE TABLE
statement, such as through PASE, I'm all ears. I'm actually much more
comfortable at the PASE shell prompt than the green screen.

Thanks,

Justin


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.