|
1. QSQGNDDL is an API (Application Program Interface), i.e. a program that
has to be called with a CALL command.
If you are on release 7.2 you may intend to use the GENERATE_SQL
(http://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzajq/rzajqprocg
ensql.htm?lang=de) Stored Procedure, which is also based on the QSQGNDDL
API, but can be alled from any SQL interface (with the SQL Call Command).
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
-----Ursprüngliche Nachricht-----
Von: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von
Justin Dearing
Gesendet: Sunday, 19.7 2015 06:12
An: Midrange Systems Technical Discussion
Betreff: Can't call QSQGNDDL on a V7R2M0 box.
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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.