× 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.



On 2025-03-20 12:59 p.m., Renee Taylor wrote:
When compiling an SQL program, the compiler listing shows
Precompiler's generated DS:
DCL-DS *N;
SQL_00006 BINDEC(4) INZ(128);
SQL_00007 BINDEC(4) INZ(8);
SQL_00008 UNS(10) INZ(0);
SQL_00009 CHAR(1) INZ('0') CCSID(*JOBRUNMIX);
SQL_00010 CHAR(118) CCSID(*JOBRUNMIX);
SQL_00011 CHAR(1) CCSID(*JOBRUNMIX);
END-DS;
When debugging, is there a way to look at the entire DS at once?

EVAL %LOCALVARS shows all the variables in the current procedure. It's alphabetical order, so the SQL_ subfields will all be listed together.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2025 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.