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



The "A" specs are for the programming language DDS.

I have now been writing in some such languages so long that I use the manuals to look up HOW TO some code I not used in a while, but rarely for the overall rules of engagement.

We can update this code using SEU PDM SQL and more advanced tools, each of which has various help support to catch incorrectly coded lines before they go in, provided the source member has the right sub-type to connect to the appropriate help.
Also the complier has all sorts of messages about oops. But this does not help us where we produce valid results other than what we intended.

In general, there are limits to lengths of fields even when using wrap-around, and these limits are spelled out in the programming manuals ... there are both white books and red books available from IBM, which we can access on-line on web sites that shift every time IBM renames our OS platform.

We have to leave one unused space between each field ... unused by us ... IBM uses it for some special codes that spell out how to portray the field, its rules.

With SDA you can doodle the screen layout you want, then have it compile the code, although I usually find some other screen software similar to my goal, then cut & paste something that works, then adjust it to taste ... that way 95% of my coding is already done for me before I start.

I found the following links pretty rapidly via Google ... I can't speak to the relative quality of the individual works.
http://publib.boulder.ibm.com/html/as400/v4r5/ic2924/index.htm?info/db2/rbafomst02.htm
http://www.code400.com/
http://www.as400pro.com/tipListInq/category/DDS
http://www.sybase.com/detail?id=1002621
http://www.alcsoftware.com/dds/
http://www.systeminetwork.com/clubtech/TNT400/bo400ng/AS400Q0100.htm

Al Macintyre


I have a weird problem in a display file that I need some help with involving a window border.
A field inside the window border is defined as: KIQQX 250 VARLEN(100)
I use this in the display record using the: CNTFLD(050) & WRDWRAP keywords.
This results in 5 lines of 50 charcters as a continuous field for a short text field (wonderful!).
Unfortunately the border to the right hand side of the first 50 bytes shows a gap in the solid blue:

A WDWBORDER((*COLOR BLU) (*DSPATR HI)

as does the border to the left of the second line of the 5 lines. That's the only place where this occurs. The remaining three lines have no breaks. I have two colums of blank space between the end of the 5 lines and the border as well as two columns between the border and the start of the 5 lines. Is there more I should be aware of?

While I'm at it, is there any web reference which gives a comprehensive tutorial on how to code windows? The only article of use I've been able to find is an MCPRESSONLINE one from 1995!
Thanks in expectation.

Mike Pantzopoulos
___________________________________________



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