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

Use TEMP files in TSO


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

Active User


Joined: 02 May 2005
Posts: 128
Location: UK

PostPosted: Wed Jun 10, 2009 1:29 pm
Reply with quote

Given below is Rexx code which is used to take SDSF output to PS dateset('IBM.TEMP.REP'). I want to replace this with a temp file.

Code:
 
/*REXX*/                                                         
INREC4.   = " "                                                 
INREC4.0  = '0'                                                 
RexxrepDSN      = 'IBM.TEMP.REP'                           
"DROPBUF"                                                       
QUEUE 'JOBNAME' IBMAS324                                         
QUEUE 'ST'                                                       
QUEUE 'PRE *'                                                   
QUEUE 'FILTER JOBID = ' JOB65278                                 
QUEUE 'ARRANGE MAX-RC A C'                                       
QUEUE 'END'                                                     
QUEUE 'EXIT'                                                     
"ALLOC F(ISFIN) TRACKS SPACE(1) REU" /* USED BY SDSF */         
"ALLOC FI(ISFOUT) DSN('"RexxrepDSN"') SHR REUSE"                 
"EXECIO" QUEUED()" DISKW ISFIN (FINIS" /* INPUT TO SDSF BATCH */
"ISPEXEC SELECT PGM(SDSF) PARM('++32,255')"                     
"FREE FI(ISFIN ISFOUT)"
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Jun 10, 2009 2:28 pm
Reply with quote

What does it say in the manual about ALLOCating temp files ?

A link to the TSO manuals can be found in the sticky at the top of this forum .
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top