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

How to recall datasets using REXX?


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajatbagga

Active User


Joined: 11 Mar 2007
Posts: 199
Location: india

PostPosted: Wed Dec 26, 2007 10:14 pm
Reply with quote

In my application everyday I am recieving around 80 datasets but they are getting migrated very quickly. I have to recall them manully to check the data contained in them on daily basis.

So i have been asked to write a REXX code which can be issued to recover them on deaily basis.

I am very new to REXX can anybody provide me with sample REXX code.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Dec 26, 2007 10:15 pm
Reply with quote

There are already many examples in this forum. You need to issue the HRECALL command, so search for HRECALL to find them.
Back to top
View user's profile Send private message
rajatbagga

Active User


Joined: 11 Mar 2007
Posts: 199
Location: india

PostPosted: Wed Dec 26, 2007 10:55 pm
Reply with quote

ok thanks...
please let me know if this works in this case:


TSO HRECALL "TK011.*.*" NOWAIT
Back to top
View user's profile Send private message
rajatbagga

Active User


Joined: 11 Mar 2007
Posts: 199
Location: india

PostPosted: Wed Dec 26, 2007 11:06 pm
Reply with quote

I got the solution to this problem in forum. Thank you very much.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Dec 26, 2007 11:07 pm
Reply with quote

Why won't you try it and let us know?

O.
Back to top
View user's profile Send private message
rajatbagga

Active User


Joined: 11 Mar 2007
Posts: 199
Location: india

PostPosted: Fri Dec 28, 2007 1:54 pm
Reply with quote

TSO HRECALL "TK011.*.*" NOWAIT is working fine here.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top