Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Check File Level Check

662 views
Skip to first unread message

Jacques Tardif

unread,
Oct 30, 2001, 11:35:45 AM10/30/01
to
Hi,

How can I be sure that there is no level check on the AS/400 after I
modified and compiled a file.
There must be an utility or a command that can do this for me...

Thanks,
Jack


Drew Dekreon

unread,
Oct 30, 2001, 2:34:16 PM10/30/01
to
do a dspfd on the file before & after compiling.
The only thing that changes the level is a change that affects the data
layout: add/delete fields, change field lengths or types. Text and column
headings won't change the level.

"Jacques Tardif" <tar...@inextenso.qc.ca> wrote in message
news:JEAD7.19624$6s1.7...@weber.videotron.net...

Jacques Tardif

unread,
Oct 30, 2001, 2:41:35 PM10/30/01
to
Thanks for the answer. But it's not what I'm looking for. Let me explain
more :

I added a new field in my file. I compiled it and most of RPG programs using
it.
But, I need to be sure that there is no RPG pgm I forgot to compile.
The problem is that my client has no documentation or cross-reference tool.

Having a tool checking that there is no more level check would help me at
implementation time.

Thanks
=====================================


"Drew Dekreon" <drew_dekreon@chugachelectric.!com!> a écrit dans le message
news: ttu05sq...@corp.supernews.com...

Thomas Raddatz

unread,
Oct 30, 2001, 3:03:29 PM10/30/01
to Jacques Tardif
Hi,

Martin Rowe published a tool called CHKLVLCHK. Great thing that does exactly
what you want. Unfortunately I do not remember the download address.

Thomas Raddatz.

Jacques Tardif schrieb:

--
*=====================================================*

e-mail Adresse:
Thomas....@tools400.de

Homepage:
http://www.tools400.de

*=====================================================*


Thomas Raddatz

unread,
Oct 30, 2001, 3:31:55 PM10/30/01
to Thomas....@tools400.de
Go to http://www.dbg400.net and follow the EXTRAS link.

Thomas Raddatz.

Thomas Raddatz schrieb:

Stanley Sullivan

unread,
Oct 30, 2001, 3:34:52 PM10/30/01
to
Here is the link for CHKLVLCHK http://www.dbg400.net/chklvls.html

Stanley

"Thomas Raddatz" <Thomas....@online-club.de> wrote in message
news:3BDF0791...@online-club.de...

Martin Brieger

unread,
Oct 30, 2001, 3:39:46 PM10/30/01
to
Jacques,

it's actually fairly easy to do.
Do a DSPFD into an outfile. Do a DSPPGMREF into an outfile as well.
Run a query over both files with the file name as link.
Where ever the levelcheck ID is not identical, you get an level check.

Done that a bazillion times

Martin


"Jacques Tardif" <tar...@inextenso.qc.ca> wrote in message

news:bmDD7.19849$6s1.8...@weber.videotron.net...

Njål Fisketjøn

unread,
Oct 30, 2001, 6:21:40 PM10/30/01
to
On Tue, 30 Oct 2001 14:41:35 -0500, "Jacques Tardif" <tar...@inextenso.qc.ca> wrote:

>I added a new field in my file. I compiled it and most of RPG programs using
>it.
>But, I need to be sure that there is no RPG pgm I forgot to compile.
>The problem is that my client has no documentation or cross-reference tool.
>

Use DSPOBJREF to find out which programs to compile. Download from
http://www.figu.no


--
Njål Fisketjøn, FIGU DATA AS
n...@figu.no

wmca...@earthlink.net

unread,
Oct 30, 2001, 6:53:55 PM10/30/01
to
Jacques Tardif wrote:

Use the DSPPGMREF command to list all the files referenced by your programs.
You can output to an output file and then query the file.


Zee

unread,
Oct 30, 2001, 7:17:33 PM10/30/01
to
You can check the record level identifier by using DSPFD. If you have
modified the file, the record identifiers will be different and it
will level check. If your modification is simply adding a few extra
fields at the _end_ of the file then existing programs should be able
to use it if you use the LEVELCHK(*NO) option when you create the
file.

Z.

Roch Murphy

unread,
Nov 12, 2001, 10:55:56 PM11/12/01
to
Tu as trois choix:
#1 Utiliser un outil déjà fait comme précédemment proposé par Njal
#2 Faire un scan avec PDM de tous les sources ouvrant ce fichier et ses vue
logiques car elle aussi en les recompilant ont leur level check de modifiées
(option 25)
#3 Faire un DSPPGMREF tel que suggéré par wmcalpine. L'outil suggéré par
l'option #1 doit surement utiliser cette commande ou API correspondant.

Je te suggère la proposition #3. Tu demandes lors de l'exécution d'écrire le
résultat dans un fichier (OUTFILE). Chaque enregistrement contient le nom du
programme et l'objet utilisé. Ensuite avec SQL ou WRKQRY, SEQUEL etc tu
listes tous les enregistrements contenant soit le nom de ton fichier ou une
de ses vues logiques.

C'est super simple. Tu auras fini avant même d'avoir eu le temps de
downloder la proposition #1. Tu vas aussi trapper les objets sans source que
l'option #2 ne peut dévoiler. Tu vas trapper aussi les CL qu'ils faut aussi
recompiler si le fichier y est déclaré avec un DCLF.

"Jacques Tardif" <tar...@inextenso.qc.ca> a écrit dans le message news:
bmDD7.19849$6s1.8...@weber.videotron.net...

0 new messages