I'm trying to write code with the following requirement. After giving the HLQ name in ISPF 3.4 we will get the list of ds in the ISPF screen as below.
Command - Enter "/" to select action Message Volume
-------------------------------------------------------------------------------
SYS3122.ESABLUE.JUNE1.DATA XRA222
SS SYS3122.ESDS.CLUSTER.DATA XRA222
SYS3122.ESDS.CLUSTER.DATA1.DATA XRA201
SYS3122.ESDS.CLUSTER.DATA1.INDEX XRA201
SYS3122.ESDS.CLUSTER.DATA2 XRA222
SYS3122.ESDS.CLUSTER.INDEX XRA222
SS SYS3122.ESDS.CLUSTER1 XRA211
-------------------------------------------------------------------------------
SYS3122.ESABLUE.JUNE1.DATA XRA222
SS SYS3122.ESDS.CLUSTER.DATA XRA222
SYS3122.ESDS.CLUSTER.DATA1.DATA XRA201
SYS3122.ESDS.CLUSTER.DATA1.INDEX XRA201
SYS3122.ESDS.CLUSTER.DATA2 XRA222
SYS3122.ESDS.CLUSTER.INDEX XRA222
SS SYS3122.ESDS.CLUSTER1 XRA211
What i'm trying here is, when I give SS in the command option as specified above it should take the list of all the datasets till the next SS in the command line(Kind of block command functionality. Hope I have made it clear. If not please let me know. Any idea, logic to get this work done.? Any suggestions will be really helpful.