View previous topic :: View next topic
|
Author |
Message |
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
since I currently have my ISPF Screen Format as STD, |
use DATA and read the manual about ZSCREENW an friends |
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
Ok. I will go in that direction, but there is still one problem. My shop's default setting is STD. I still need to be able to switch them out of STD, then back when I am finished... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
go to ISPF option 0 scroll down one page and use 1 as per my previous posts
whenever an option is customizable by each user it is not a standard any longer
the issue might be, on the other side to be able to logon, using a model5 logon mode table
unless vtam is setup to diiscover automatically the terminal model, and setup correctly the alternate screen size |
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
Sorry, when I say 'I need to be able to switch them out of STD' I mean do it programmatically, not manually. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
why do You want to deprive people of the added facilities of using DATA
when editing browsing lrecl 80 <things> nothing will change
I would not worry about the issue for more than a couple of seconds
worry about the application, and switching back and forth between data and std will be a last minute secondary detail |
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
I dug through the PDS member (ISPSPROF) and I noticed that it looks like the format is <VARIABLE NAME> <VARIABLE VALUE>:
Code: |
ZDEL ..;.ZDEVNAM ...ZDTVOPT ..1.ZDTVWARN..0.ZENBLDMP..OFF.ZFAMPRT ..2.ZFMT
..D.ZFRAMIC ....ZGCOLORS.. 1234567.ZGGCOLRS.. 01041302030600.ZGHCOLR ...ZGPCOL |
I assumed the variable is ZFMT because I am in DATA mode. So then I tried this:
Code: |
/* REXX */
ADDRESS ISPEXEC
'VGET ZFMT'
SAY ZFMT
ZFMT = 'S'
'VPUT ZFMT' |
When I first ran it, it display 'D'. Then the next time it displayed 'S'. But it really did not change the 'Screen Format' field when I go back to Option 0. Is there something I need to do to actually make the change go into effect? |
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
enrico-sorichetti wrote: |
why do You want to deprive people of the added facilities of using DATA
when editing browsing lrecl 80 <things> nothing will change
I would not worry about the issue for more than a couple of seconds
worry about the application, and switching back and forth between data and std will be a last minute secondary detail |
The application is complete. It works whenever I switch the Screen Format to DATA or MAX. It will display the CICS BMS map as a MOD2 or a MOD5. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2546 Location: Silicon Valley
|
|
|
|
I have never worked with stuff in ISPSPROF. I guess it is not supposed to be changed by the user. Also, ZFMT is not documented in Dialog Developer's Guide and Reference. You should realize that changing it from a program would not be supported by IBM. I recommend against it.
If you want to continue... ISPSPROF is a table. You should be able to get the row and modify it. By my observation, ZFMT is an extension variable in the first row. But there are a many extension variables that you probably need to preserve. |
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
Pedro wrote: |
I have never worked with stuff in ISPSPROF. I guess it is not supposed to be changed by the user. Also, ZFMT is not documented in Dialog Developer's Guide and Reference. You should realize that changing it from a program would not be supported by IBM. I recommend against it.
If you want to continue... ISPSPROF is a table. You should be able to get the row and modify it. By my observation, ZFMT is an extension variable in the first row. But there are a many extension variables that you probably need to preserve. |
I do not have any experience with working with these tables. Can you use ISPF services like TBSCAN to read data? Also if you update a variable in the table, does it automatically take effect for the user? |
|
Back to top |
|
|
|