AS400 Mid Range/Source location for complied objects

Advertisement


Question
I have several RPGLE/CLLE objects that I need to organize. How do I determine where the source lives for these objects. DSPPGM/DSPOPBJ does not show the info I need for LE objects and we do not have a HAWKEYE type product.

Answer
The fact that DSPPGM does not give you the name of the source file and library suggests that the source may not be on your system.  One possible way of locating the source if it does exists is by using the DSPFD command to display a list of source members to an outfile, which you could then browse for the member name.  The format of the command is:

DSPFD FILE(*ALL/source_file_name) TYPE(*MBRLIST)OUTPUT(*OUTFILE) FILEATR(*PF) OUTFILE(library_name/filename)



- Laird

AS400 Mid Range

All Answers


Answers by Expert:


Ask Experts

Volunteer


Concise Systems/Laird Scranton

Expertise

General AS/400, RPG/400, SDA and CL programming questions. AS/400 performance tuning.

Experience


Past/Present clients
CB Sportswear
Coca-Cola of New York
Encore Paper Company
Golub Corporation
HBO Home Video
Imperial Pools
Kaiser Permanente of NE New York
Mallinckrodt Medical
Marigold Foods
Manpower & Associates
National Datacomputers
New York State Easter Seals Society
New York State Food Merchants Association
Pepsi-Cola Allied Bottlers
Petricca Construction
Taconic Telephone Corporation
TOMRA Recycling
Unistress Corporation

©2012 About.com, a part of The New York Times Company. All rights reserved.