Re: CRTCMDPosted ByALEX on February 18, 19100 at 14:04:40: In Reply to: CRTCMD posted byMatthias Suttner on February 17, 19100 at 08:59:34: Geht mit der Anweisung QUAL in der CMD Source : probier mal folgendes PARM KWD(OBjekt) TYPE(QUAL1) Prompt('Objekt Name') QUAL1: QUAL Type(*name) LEN(10) EXPR(*yes) Wenn du das umwandelst, sollte "Bibliothek" etwas eingerückt sein. PGM PARM(&FULLOBJ) DCL VAR(&FULLOBJ) TYPE(*char) LEN(20) -> /*Fullobj in OBJ und LIB auflösen */ CHGVAR VAR(&OBJ) VALUE(%SST(&FULLOBJ 1 10)) CPYF Fromfile(&LIB/&OBJ) TOFILE(testlib/testobj) /* oder so */ u.s.w. ENDPGM
Viel Spaß noch!
|