|
Sorry Jon. Way too old to be switching to new screen design aids. SDA seems
easy to me. The monster is RLU. What a mess that is.
On Tue, Jul 26, 2022 at 6:32 AM Jon Paris <jon.paris@xxxxxxxxxxxxxx>
wrote:
SDA? Today Alan? For those of us who know it, its perversities arework
second nature. But for a newbie it is tough because it really doesn't
like anything else in the universe.designer,
For a newbie I would suggest either RDi which has a great screen
or if using Liam's VS Code extension for IBM i as your editor (which ishttps://marketplace.visualstudio.com/items?itemName=HalcyonTechLtd.vscode-displayfile
where you should start if the shop won't buy RDi) use the new Preview
option which you can find here:
<https://marketplace.visualstudio.com/items?itemName=HalcyonTechLtd.vscode-displayfile
numeric
Jon P.
On Jul 25, 2022, at 5:48 PM, Alan Campin <alan0307d@xxxxxxxxx> wrote:will
Have you tried SDA (Screen Design Aid)? There is a bit to learn but it
let you see a screen as it looks.list
For the display file that you have defined, go to option 3 in PDM to
display your display file source. Take option 17 and you should see a
of record formats that you have defined. Take option 12 on the record
format to display the screen. F4 will show you a list of fields in the
record. F6 will sort them by location. If you wanted to define a
will5,0 field for input and output (Both) you would type +9(5,0) and it
mydefine the field for you where the cursor is. Putting ? in front of thespecify
field lets you rename it. Putting * in front of field allows you to
editing on the field. I always use a different name for the fields on
wantedscreens. For a standard, I B_ for Both fields, I_ for input, O_ foroutput
and H_ for hidden fields. For example, if I had an order # that I
togoodprophet.bp@xxxxxxxxx>
input to, I would do something like B_ORDER#.
Anyway, it would allow you to see what the screen looks like..
On Mon, Jul 25, 2022 at 1:47 PM Brian Parkins <
quotes,wrote:
I see a few problems with this.
- Almost all of DDS has to be coded in uppercase, unless it's in
blanke.g. COLHDG('Jerry')
- As others have pointed out, you have left the Decimal Positions
least- so FLD1 would default to Character
- The keyboard shift numeric 'N' applies to input only and has no
bearing on output
You may have more luck with:
A FLD1 2S 0O 7 39
- but this supposes you don't have any overlapping fields which would
result in FLD1 not being displayed. Don't forget you MUST leave at
display/print aone space between fields in a Display File, (so the attribute bytes
don't overlap).
To respond to your earlier query, DDS has no concept of Packed Numeric
fields, only Signed Numeric (Zoned Decimal). (You cannot
toPacked field because each byte - i.e. character position - contains
2-digits.) RPG IV automagically redefines Signed Numeric field in DDS
itPacked Decimal in the program. (Look at the compiler listing to prove
belowto yourself.)
Time to hit the manuals and programming guides?
Brian.
On 25/07/2022 15:42, jerry ven wrote:
i am also trying to define my field directly for the screen like
screen.whereasonly difference is i am defining like below without using EDTCDE-
A Fld1 2N O 7 39
But i don't see my field name 'FLD1' on the screen like above,
havewithin the same DDS other fields which are defined using reffld and
some text under Functions their data is displayed as is on the
affiliateusing
So not sure how the field name could be displayed here if I am not
relatedREFFLD and Functions.in the DDS of display file.
Thanks
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
questions.
Help support midrange.com by shopping at amazon.com with our
--related questions.link: https://amazon.midrange.com--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription
link: https://amazon.midrange.com
Help support midrange.com by shopping at amazon.com with our affiliate
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
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.