View previous topic :: View next topic
|
Author |
Message |
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
Hi,
I can able to print the st panel in spool by Print-hi command through rexx but i cannot open my dataset, when i try to open its saying the dataset is used by ISPF currently..
when i give list keep command in the command line , manually my dataset is displayed as "userid.spf.list" but through rexx code i cannot Queue the LIST KEEP command.. how to do it.. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Your question is not very clear.
However, after you've printed something from SDSF, you should issue a PRINT CLOSE command.
Maybe that's missing? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
If you are using PRINT-HI, you probably are not using SDSF 'print' command, which I recommend you to use.
With SDSF print command, you should use it to open the file, print the data, then close the file. See the online help for SDSF. |
|
Back to top |
|
|
awyn
New User
Joined: 11 Feb 2008 Posts: 49 Location: chennai
|
|
|
|
I 'm not printing any jobs into a dataset, i'm just printing the screen(st page)., so i dont know how to use the print close command in it. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
The PRINT-HI command is an ISPF command, thus printing the data into ISPF's LIST dataset. Try the command LIST to copy it's content.
O. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
rexx code i cannot Queue the LIST KEEP command |
This is how I have issued ISPF commands in the past:
Code: |
Address ISPEXEC
"CONTROL NONDISPL ENTER"
ispfcmd = "LIST KEEP"
"DISPLAY PANEL(ISR10000) COMMAND(ispfcmd)"
|
Quote: |
my dataset is displayed as "userid.spf.list" |
Actually, it is something like SPF0.LIST through SPF9.LIST. ISPF will cycle through all 10, so you have to issue VGET for ZLSTNAME to get the current name. |
|
Back to top |
|
|
|