Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Looping control statement in ISPF panels

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Pradeep Thangapandy

New User


Joined: 22 Feb 2008
Posts: 12
Location: United Kingdom

PostPosted: Mon Mar 30, 2009 1:49 pm    Post subject: Looping control statement in ISPF panels
Reply with quote

Is there any looping control statement which i can use inside ISPF panels? Similar to "DO" statement in REXX.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon Mar 30, 2009 1:59 pm    Post subject: Reply to: Looping control statement in ISPF panels
Reply with quote

if You tell what You are trying to achieve, rather than asking if a feature is there
You might get better answers

p.s. product features and capabilities are better described in the manuals
Back to top
View user's profile Send private message
Pradeep Thangapandy

New User


Joined: 22 Feb 2008
Posts: 12
Location: United Kingdom

PostPosted: Mon Mar 30, 2009 2:46 pm    Post subject:
Reply with quote

I want to write validation script with in ISPF panel. I have 10 file fields in panel to be checked for catloged or not. For one file i have done this with in *REXX.....*ENDREXX statements. I can repeat the logic for all 10 files. But the script is getting bigger and it would be difficult for me to maintain it.

Is there any approach which i can follow to avoid repeating same logic in ISPF?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Mar 30, 2009 4:26 pm    Post subject:
Reply with quote

I would use PANEXIT, transferring the dataset name as a parameter and getting back a return code.

O.
Back to top
View user's profile Send private message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Wed Apr 08, 2009 12:57 am    Post subject:
Reply with quote

Pradeep Thangapandy wrote:
I want to write validation script with in ISPF panel. I have 10 file fields in panel to be checked for catloged or not. For one file i have done this with in *REXX.....*ENDREXX statements. I can repeat the logic for all 10 files. But the script is getting bigger and it would be difficult for me to maintain it.

Is there any approach which i can follow to avoid repeating same logic in ISPF?


use INTERPRET to generate the right commands in a loop. can be done if your field names are similar e.g. yadda1,yadda2,.....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts PA02 - Programmtically control attent... dodithegreat IMS DB/DC 1 Thu Apr 06, 2017 8:33 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts ISPF - How to come out of ISPF Panel parasmalik20 TSO/ISPF 5 Tue Feb 21, 2017 7:44 pm
No new posts ROUNDED Problem with COMPUTE statement shalem COBOL Programming 11 Thu Feb 09, 2017 8:16 pm
No new posts VALIDATE NULL VALUE IN DB2 CASE STATE... useit DB2 5 Thu Feb 09, 2017 4:34 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us