× 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 Program Verifiers can only be run from within the CODE Editor.  But,
you can create a macro which automatically opens your members and verifies
them.  You could then run the macro from the DOS command line if you want.

I have attached a example of doing this.  In the macro, it has a list of
ILE RPG members to verify.  For each member, it opens it, run the command
to verify the member using the ILE RPG verifier, and then closes the
member.  You could just edit the macro and specify your list of members.
Remember to update the 'listmembers' variable to the number of members in
the list!
(See attached file: megailerpgverify.lx)

To run it from the DOS command line, execute 'codeedit /c megailerpgverify'

A couple of points about the macro:
1. It would be better to read the list of members from a text file, than
being hardcoded in the macro itself
2. It only invokes the ILE RPG verifier.  You would need to make it smarter
to check for the actual member type of the file.
2. It assumes the command to invoke the verifier is 'ILEPV RPGPV'.  This
could change!

Hope this helps,
Eric

Eric Simpson
WebSphere Development Tools for iSeries
IBM Canada Lab - D1/140/8200/MKM
Phone:  (905) 413-3226,  Tie-Line:  969-3226,  Fax: (905) 413-4850
Email:  esimpson@ca.ibm.com


"David Schopp" <dschopp@imt.net>@midrange.com on 02/15/2002 01:41:24 PM

Please respond to code400-l@midrange.com

Sent by:  code400-l-admin@midrange.com


To:   <code400-l@midrange.com>
cc:
Subject:  RE: Program verify script/batch?


Hmm...  I wonder if there's a way using Code Project Organizer...  Hmm...

I don't really know, but I'd be interested in the answer!

Dave

-----Original Message-----
I'm traveling to the Great White And Very Cold North (Winnipeg and
Saskatoon) and intend to do something productive with CODE/400.  In order
to
make Verify work off-line, I have to do it on-line first.

Is there a way to "verify" multiple (okay, 50) programs with one script or
.BAT file?  Otherwise, I'll have to generate a *really* ugly RPG "program"
with every DSPF, LF, PF, and prototype first, verify it with "refresh
cache=yes", and hope the little flames coming out of the CPU don't set off
the smoke detector.


_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
or email: CODE400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.


--
[ =?iso-8859-1?Q?megailerpgverify.lx?= of type application/octet-stream deleted 
]
--



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.