View and update ISPF profile table



IBM's Command List programming language & Restructured Extended Executor

View and update ISPF profile table

Postby mymainframe » Thu Jun 25, 2015 9:13 pm

Hi,

How can I view and update ISPF profile tables using REXX.

I am developing a REXX tool, where I need to use File-AID ISPF profile table to view and update.

Thanks.
mymainframe
 
Posts: 17
Joined: Fri Jun 19, 2015 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: View and update ISPF profile table

Postby Pedro » Fri Jun 26, 2015 1:49 am

Use ISPF table services to process the table. Read the ISPF Services manual for the following topics:
    TBOPEN
    TBQUERY
    TBTOP
    TBSKIP
    TBMOD
    TBCLOSE
    LIBDEF
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: View and update ISPF profile table

Postby mymainframe » Fri Jun 26, 2015 3:09 pm

Hi Pedro,

Can you please provide sample code for above table operations.

Thank you.
mymainframe
 
Posts: 17
Joined: Fri Jun 19, 2015 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: View and update ISPF profile table

Postby prino » Fri Jun 26, 2015 3:24 pm

Did you miss the

... Read the ISPF Services manual for the following topics: ...

Maybe you want Pedro to just write the application for you?
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: View and update ISPF profile table

Postby mymainframe » Fri Jun 26, 2015 6:12 pm

I was trying to open ISPF tables using 3.16 option. Instead of opening table, its showing as below.


__*** Extension variables only ***


It was working fine for the table which I create in my PDS.

Can someone explain why ISPF table is not opening.

Thanks.
mymainframe
 
Posts: 17
Joined: Fri Jun 19, 2015 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: View and update ISPF profile table

Postby NicC » Fri Jun 26, 2015 8:54 pm

Not without seeing your entire table-handling code.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: View and update ISPF profile table

Postby Pedro » Fri Jun 26, 2015 9:31 pm

Can you please provide sample code for above table operations.

This is a help forum, not a 'do it for me' forum.

You can get sample code by using the editor. Issue this command:
MODEL TBOPEN



Click here are some example programs http://lmgtfy.com/?q=Example+of+ISPF+table+processing+program#
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: View and update ISPF profile table

Postby Pedro » Fri Jun 26, 2015 9:58 pm

Can someone explain why ISPF table is not opening.

Perhaps the table only has extension variables only! You can still type an E in the input field to see the extension variables.
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: View and update ISPF profile table

Postby mymainframe » Mon Jun 29, 2015 1:56 pm

Hi Pedro,

I can see extension variables. Can I edit/change these variables using REXX.

Thanks.
mymainframe
 
Posts: 17
Joined: Fri Jun 19, 2015 8:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: View and update ISPF profile table

Postby Pedro » Mon Jun 29, 2015 11:35 pm

Can I edit/change these variables using REXX.

Yes.

Repeating:
Use ISPF table services to process the table. Read the ISPF Services manual for the following topics:
    TBOPEN
    TBQUERY
    TBTOP
    TBSKIP
    TBMOD
    TBCLOSE
    LIBDEF
Pedro Vera
User avatar
Pedro
 
Posts: 684
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Next

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post