IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

ISPF ISPLOG


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
asmanyam

New User


Joined: 18 Nov 2005
Posts: 9

PostPosted: Wed Jun 26, 2019 7:29 pm
Reply with quote

Hi,

I am trying to see how to enable log in ISPF. I did give option as KEEP and NEW (KN/4) in ISPF log and list defaults.

The following is that display for ISPLOG.

R22RES SHR,KEEP > SYS1.DFQLLIB
NEW,DEL > ISPLOG NULLFILE (Dummy)

When I give LOG command in ISPF its giving message "The LOG data set cannot be processed when it has been preallocated."

We are new to System programming. I did search in manuals and other posts in helpboard. Could not find relevant content.
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 734
Location: Denmark

PostPosted: Thu Jun 27, 2019 3:32 pm
Reply with quote

I strongly suggest that you use the ISRDDN command instead of LISTA.
Check the TSO procedure you are using, remove any allocations for ISPLIST and ISPLOG.
Check any initial allocation script, remove any allocations for ISPLIST and ISPLOG.
Log off and on.
In Settings Log/List 'Log Data Set Defaults' try option 4.
ISPF LIST and LOG datasets are allocated dynamically so you will see something like this in the ISRDDN list for the LOG dataset:
SYSXU3 MOD,CATLG > ISP11360 WJ1.SPFLOG2.LIST
Use a REXX pgm like this to write controlled messages to LOG.
Code:
/* write ISPF log record                         rexx */
 parse arg zedlmsg                                     
 if zedlmsg='' then zedlmsg='ISPF log' date('s') time()
 address ispexec "vput (zedlmsg)"                       
 address ispexec "log msg(isrz000)"                     
Back to top
View user's profile Send private message
asmanyam

New User


Joined: 18 Nov 2005
Posts: 9

PostPosted: Thu Jun 27, 2019 7:52 pm
Reply with quote

Hi,

Thank you very much. Your prompt for logon procedure gave the clue. Our existing system was having DUMMY, hence it was not writing.

Thank you very much again.

Thanks
Subbu Ambati
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Preserve changes to ISPF Panel Variables TSO/ISPF 5
No new posts can an ISPF appl save user changes in... TSO/ISPF 14
No new posts Unload and Load ISPF Table TSO/ISPF 4
No new posts ISPF Table to add a new column TSO/ISPF 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
Search our Forums:

Back to Top