Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Execute an OS/400-command (CL-programm) by an ABAP (Z-transaction)

Former Member
0 Kudos

Hello!

we are searching for possibility to execute an OS/400-command (CL-programm) by an ABAP-programm (Z-transaction).

Actual (not working) example:

REPORT Z_WRKOUTQ_STOP.

Data: p_command(250) value 'KMXHOM6/QSYS.LIB/SKOLIB6.LIB/SKC001.PGM'.

DATA: BEGIN OF tabl OCCURS 10,

filler(1000),

END OF tabl.

CALL 'SYSTEM' ID 'COMMAND' FIELD p_command

ID 'TAB' FIELD tabl-sys.

Thanks for an answer.

Regards,

Bernd

1 REPLY 1

Former Member
0 Kudos

Sorry, wrong Thread!