Trouver un membre - Find a member

page d'accueil
Boite à outils

Cette page a été mise à jour le 14 septembre 2009
Contact

Welcome page
Tools box

Versionning 

last version : How to upload to my 400

CHGPFM FILE(jpltools) MBR(FINDMBR ) SRCTYPE(CMD ) EXPDATE(*NONE) SHARE(*NO) TEXT('Trouver un membre ') 
CHGPFM FILE(jpltools) MBR(FINDMBRC ) SRCTYPE(CLLE ) EXPDATE(*NONE) SHARE(*NO) TEXT('trouver un membre ') 
CRTCMD CMD(FINDMBR) PGM(FINDMBRC) SRCFILE(JPLTOOLS) ALLOW(*BPGM *IPGM) REPLACE(*YES) 
CRTCLMOD MODULE(FINDMBRC) SRCFILE(JPLTOOLS) TGTRLS(V5R3M0) DBGVIEW(*ALL) ENBPFRCOL(*FULL) 
CRTPGM PGM(FINDMBRC) BNDDIR(QC2LE JPLTOOLS) ACTGRP(JPLTOOLS) TGTRLS(V5R3M0) 
Cet outil permet de trouver un membre d'un fichier dans la liste de bibliothèques. A la différence de RTVMBRD, il continue à chercher le membre dans la liste de bibliothèque si ce membre n'est pas dans le premier fichier trouvé.  

la commande FINDMBR

Accessoirement, c'est un exemple de *CMD qui retourne une valeur

This tool permits to find a member of a file in the list of libraries. The difference with RTVMBRD is that it continues to look for the member in the list of library if this member is not in the first found file. 

FINDMBR CMD :

Incidentally, it's an example of *CMD that returns a value

Note : this tool is based on CHKOBJ, scanning all the library list. There is an API that do that quicker. Need to update this tool. When I will find some time.

The source code is provided as an open source tool under the GNU General Public License, version 2.  In summary, this license specifies:

By clicking the download link you acknowledge and agree to the terms of the license.

Download the (zipped) SAVF containing the JPLTOOLS : the source file, the message file, the bnddir

THIS TOOLBOX IS PROVIDED ''AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PROVIDER OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS TOOLBOX, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.