Srikanth Veeraraghavan, once you create the desired data sequence via prep_process_report with the appropriate filters you'd have to extract the specific lines through the process loop.
If your data sequence has 100 lines and you need lines 5-35 you can increment a number variable with each process loop and extract the specific lines when the value is met.
I.E:
:set &num#=1
:set &hnd#=prep_process_report(.....)
:process &hnd#
:set &line#=get_process_line(&hnd#)
:switch &num#
:case &num# between 5 and 35
:print &line#
:case &num#>35
:term_process
:endswitch
:set &num#=&num#+1
:end_process
Alternatively you could have a WHILE loop which increments your &num# value and uses that in the GET_PROCESS_LINE command outside of the process loop to identify the ROW you want to pull from the datasequence
:set &num#=0
:set &hnd#=prep_process_report(.....)
:while &num#<=35
:set &num#=&num#+1
:set &line#=get_process_line(&hnd#,,,&num#)
:switch &num#
:case &num# between 5 and 35
:print &line#
:endswitch
:endwhil:smile:
These are simplified examples that could work.