Re: Uncle Bob

Gad Miron <[email protected]>
Newsgroups gmane.comp.lang.as400.rpg
Message-ID <CAFj_=c25i2c=OZjHFtpxgRkPgPc0fYDTah7Mm1C3jLiCr69_DA@mail.gmail.com>
Thanks all responders

Seems like a short explanation is in order

We developed a feature that , (when a user executes an option) that informs
the user
(displays a small screen) that the job was submitted to batch.(and expect
an email)
this is done by calling a small RPG program that checks screen size and
displays
a screen on the bottom line.
However, sometimes, the calling PGMs run in a batch jobs themselves.
Hence the need to check in an RPG program if it is run in batch or
interactive job.
So performance issues are not an issue here.

In that small RPG programm I call a small(er) utility of mine (GET1SQLVAL)
that receives an SQL statement and returns one resulting value.
so no need to use exec SQL either.

Well, not so short after all

If only I had this hallucinated JOB TYPE in the PSDS ...

I guess I will try opening an idea...

TIA
Gad
-- 
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support-FMtJrHiV//lnDLsaKlm4mFaTQe2KTcn/@public.gmane.org for any subscription related questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.