MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

LIBDEF/ OUTTRAP ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
tcurrier
Intermediate


Joined: 10 Feb 2006
Posts: 188
Topics: 68

PostPosted: Mon Feb 22, 2010 9:37 pm    Post subject: LIBDEF/ OUTTRAP ? Reply with quote

I found this code in an exec that I needed to debug.
Does anyone have an idea what the purpose of this code
might be ?

Code:
ADDRESS TSO               
"ISPEXEC LIBDEF ISPLLIB" 
IF S = 'N' THEN           
   DO                     
   XX = OUTTRAP('LLL')   
END                       
Back to top
View user's profile Send private message
Dibakar
Advanced


Joined: 02 Dec 2002
Posts: 700
Topics: 63
Location: USA

PostPosted: Tue Feb 23, 2010 2:36 pm    Post subject: Reply with quote

Probably setting up for commands it is going to execute next

Code:
ADDRESS TSO               
"ISPEXEC LIBDEF ISPLLIB"

Sets ISPLLIB to default library


Code:
IF S = 'N' THEN           
   DO                     
   XX = OUTTRAP('LLL')   
END

This will trap (to variables LLL1, LLL2 etc) or display on screen the system messages that may appear next depending on the value of S (probably passed as argument to the REXX code)
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group