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
 

 

Rexx code i cannot Queue the LIST KEEP command.

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

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Mon Sep 15, 2008 5:39 pm    Post subject: Rexx code i cannot Queue the LIST KEEP command.
Reply with quote

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
View user's profile Send private message

Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1224
Location: Israel

PostPosted: Mon Sep 15, 2008 8:17 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Tue Sep 16, 2008 2:22 am    Post subject: Reply to: Rexx code i cannot Queue the LIST KEEP command.
Reply with quote

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
View user's profile Send private message
awyn

New User


Joined: 11 Feb 2008
Posts: 49
Location: chennai

PostPosted: Tue Sep 16, 2008 9:23 am    Post subject:
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Sep 16, 2008 11:24 am    Post subject:
Reply with quote

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
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2025
Location: Silicon Valley

PostPosted: Tue Sep 16, 2008 9:33 pm    Post subject: Reply to: Rexx code i cannot Queue the LIST KEEP command.
Reply with quote

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
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 MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 1 Tue Jan 24, 2017 1:23 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm


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