Mart Beginner
Joined: 05 Feb 2014 Posts: 2 Topics: 1
|
Posted: Tue Feb 11, 2014 6:40 am Post subject: Calling ISRSUPC from PLI |
|
|
Hi!
I would like to know, if anyone has tried to call the ISPF Search Utility ISRSUPC in PLI.
Has anyone please suggestions, how i can do this?
My coding so far: Code: |
DCL ISRSUPC ENTRY(CHAR(*));
FETCH ISPLINK, ISPEXEC, TSOLNK;
CMDAREA = 'ALLOC FILE(NEWDD) DA(''$haha.huhu.DATA.TES1'') SHR REU';
CALL TSOLNK(257,CMDAREA,LENGTH(CMDAREA),RC,REASON,ABEND);
CMDAREA = 'ALLOC FILE(OLDDD) DA(''$haha.huhu.DATA.TES2'') SHR REU';
CALL TSOLNK(257,CMDAREA,LENGTH(CMDAREA),RC,REASON,ABEND);
CMDAREA = 'ALLOC FILE(OUTDD) DA(''$haha.huhu.DATA.TES3'') SHR REU';
CALL TSOLNK(257,CMDAREA,LENGTH(CMDAREA),RC,REASON,ABEND);
FETCH ISRSUPC;
CALL ISRSUPC('DELTAL,LINECMP');
RELEASE ISRSUPC;
|
I'm calling this program from a clist. But it stucks on a display prompt and doesn't go further. So i have to cancel it every time.
Thanks a lot
br
Mart |
|