Trying to figure out how to gather data from an ISPEXEC VIEW session initiated from within a REXX, code to initiate the VIEW (user inputs TYPE, LIBRARY and MEMBER) :
"ISPEXEC VIEW DATASET('"VALUE(TYPE"."LIBRARY)"("MEMBER")')"
when in the VIEW session, I need to obtain various data...i.e. ZTITLE, data in current line (after issuing a FIND command to locate specific data string)
example of a portion of the VIEW session screen after the FIND issued (FIND 'STEP03') :
File Edit Edit_Settings Menu Utilities Compilers Test Help
------------------------------------------------------------------------------
VIEW CCP.BASE.PROCLIB(C@D0039) - 01.33 CHARS 'STEP03' found
Command ===> Scroll ===> PAGE
000051 // INCLUDE MEMBER=($SYSOUT)
000052 //STEP03 EXEC PGM=SORT,COND=(0,LT)
000053 //********************************************************************
000054 //*** SORT ***
000055 //********************************************************************
000056 //SORTIN DD DSN=&HLQ3.D0039.&RGN.QTEMP.TRAN&BR0,DISP=&D1
000057 //SORTOUT DD DSN=&HLQ3.D0039.&RGN.QTEMP.WORK(+1),DISP=&D3,
Thanks in advance !!
address ispexec "VIEW DATASET('your.dataset.name') PANEL(testpnl)"
say left(pimage,50)