View previous topic :: View next topic
|
Author |
Message |
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: 2598 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 |
|
|
|