Ansicht
Dokumentation

04073 - Getting list of object in CL

04073 - Getting list of object in CL

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Getting list of object in CL

Le jeu. 29 nov. 2001 02:42:08, cut.safitri écrivait:

> Hi AS400 expert,

Hello

> I need to get the list all the object which reside in one library
> and then put it in file, similar command in PC is
> dir c:\ > file.txt
> or if it in Unix the command will be :
> ls > file.txt
> but I can not find similar command in AS400.

Look at the DSPOBJD command (like other persons say) if you want to
process a database file.
Look at the QShell interpreter and the ls command if you want to
process a text file like in an Unix environment.

someting like that :

QSH CMD('(cd /QSYS.LIB/QGPL.LIB; ls > /tmp/qgpl.txt)')

> I need it because customer put their order file (with various name)
> in one library, and I need to process all the file in that library.
>
> Best regards,
> Y_N_P
>


--
Cordialement/Best regards
Marc Rauzier

Opinions I stated here are my own.

Durban Tours - Südafrika Safari

Fill RESBD Structure from EBP Component Structure   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 1405 Date: 20240621 Time: 061716     sap01-206 ( 2 ms )