Clarification required.



IBM's Command List programming language & Restructured Extended Executor

Clarification required.

Postby Viswanathchandru » Thu May 17, 2012 4:53 pm

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: Clarification required.

Postby prino » Thu May 17, 2012 5:45 pm

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.
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 641
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 29 times

Re: Clarification required.

Postby Viswanathchandru » Thu May 17, 2012 5:49 pm

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: Clarification required.

Postby Pedro » Thu May 17, 2012 6:54 pm

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.
Pedro Vera

These users thanked the author Pedro for the post:
Viswanathchandru (Thu May 17, 2012 10:59 pm)
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post