Page 1 of 1

Clarification required.

PostPosted: Thu May 17, 2012 4:53 pm
by Viswanathchandru
Dear all,

I have a requirement where in i'm not able to understand or guess how to get a part of the requirement done! I have a list of dataset that can be found through 3.4 option in the ISPF. I have to look for specific information from each of the dataset. If the information matches with the external passed information i should have to process that dataset alone. Here, now i'm struck, i dont know how to get the datasets into the loop to check one bY one. For example: If i have 3datasets
listed under ISPF as,
1. xx.zz.JCL1
2. XX.ZZ.JCL2
3. XX.ZZ.JCL3.
I need to process these datasets to find the required information. I'm not sure how to pass the datasets straight from the ISPF 3.4 option. Hope i'm clear. Please let me know if i need to share more information on this. Apologize if i or mY thoughts are wrong!


Regards,
Viswa

Re: Clarification required.

PostPosted: Thu May 17, 2012 5:45 pm
by prino
As far as I know you can only do two things that take into account all data sets on the 3.4 output panel: SRCHFOR and SAVE.

If you want to do something else, do a SAVE and work on the resulting data set.

Re: Clarification required.

PostPosted: Thu May 17, 2012 5:49 pm
by Viswanathchandru
Hello Prino,

Thanks for addressing the post and for Your time! I'm not sure. I would need the datasets to get into the routine one bY one and and i have certain checks inside the routine. If it matches the values i need that particular dataset alone to be processed and those input datasets are there in the ISPF 3.4 option. AnY suggestions or advice would be helpful. Apologize if i or mY thoughts are wrong!

Regards,
Viswa

Re: Clarification required.

PostPosted: Thu May 17, 2012 6:54 pm
by Pedro
do a SAVE and work on the resulting data set.


Prino was suggesting to use SAVE, which will save your list of datasets to a file, and then to read the dataset. Read the dataset one line at a time and therefore you can check the attributes of each dataset, one at a time.