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
 

 

HRECALL utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
amit225394

New User


Joined: 07 Jan 2011
Posts: 3
Location: America

PostPosted: Mon Jan 10, 2011 7:47 pm    Post subject: HRECALL utility
Reply with quote

Hi

Thanks for the updates. Now I am able to run sas code with mainframe.

In mainframe we have HRECALL utilily which is used to recall the migrated dataset. Can anyone send me that code. My assignment is to recall the migrated dataset by using HRECALL and that I have to do by using SAS with Mainframe. Please ping me the code if anyone have with sas. If not in sas then send me code use only mainframe.

Thanks
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 10, 2011 7:53 pm    Post subject:
Reply with quote

The code used to recall a migrated dataset is IBM property and the property of IBM alone and therefor not available for general release.

As you have discovered, hopefully for yourself, that the HRECALL command will in fact recall a migrated dataset, so all you need to do is to execute the HRECALL command for each dataset that you want recalled.

So as a clue, you will need to determine the required datasets, check to see if they are migrated or not and then to recall the datasets required.

However, IMHO SAS is NOT the ideal tool to do this.

Oh, by the way, if you ask for code you will more than likely be asked for money before any code is surrendered. This is a HELP forum, and not a DO IT FOR ME forum icon_evil.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Mon Jan 10, 2011 7:56 pm    Post subject: Reply to: HRECALL utility in Mainframe
Reply with quote

what kind of silly requirement is that ?
HRECALL is not an utility, is a <command> which instructs HSM to recall a migrated dataset!

You/all around You should review Your understanding of things
Back to top
View user's profile Send private message
amit225394

New User


Joined: 07 Jan 2011
Posts: 3
Location: America

PostPosted: Mon Jan 10, 2011 9:22 pm    Post subject:
Reply with quote

Hi

Thanks for the updates. As per expat reply "you will need to determine the required datasets, check to see if they are migrated or not and then to recall the datasets required". Can you please suggest me how I can see what dataset are migrated and then how I can recall through any program not manually. Manually we can do but i want to do this through any program.

Regards
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Jan 10, 2011 9:27 pm    Post subject:
Reply with quote

amit225394 wrote:
Hi

Thanks for the updates. As per expat reply "you will need to determine the required datasets, check to see if they are migrated or not and then to recall the datasets required". Can you please suggest me how I can see what dataset are migrated and then how I can recall through any program not manually. Manually we can do but i want to do this through any program.

Regards


Reference it your JCL and it will be recalled.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1746
Location: Bloomington, IL

PostPosted: Mon Jan 10, 2011 10:13 pm    Post subject: Re: HRECALL utility
Reply with quote

amit225394 wrote:
My assignment is to recall the migrated dataset by using HRECALL and that I have to do by using SAS with Mainframe.

Who came up with the requirement that SAS be used? I don't think it an appropriate vehicle; Rexx would be much better, with any compiled language from which ISPEXEC/ISPLINK a distant second.

In any case, be aware that it is most unlikely that anyone will give away their professional work project, i.e., code. If you genuinely want something for which you can file the serial numbers off of and take credit, be prepared pay USD 90/hour and up.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7931
Location: Bellevue, IA

PostPosted: Mon Jan 10, 2011 10:40 pm    Post subject:
Reply with quote

Have you discussed this "requirement" with your site storage management personnel? They usually spend a lot of time and energy designing appropriate migration policies for HSM and having some applicaiton programmer (or programming group) completely negate their policies can lead to negative consequences.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jan 10, 2011 11:36 pm    Post subject:
Reply with quote

Hello,

Well-managed systems do not want developers performing wholesale recalls of migrated datasets. Many do not even allow developers to issue HRECALL.

If there is some business reason to do this automated recall, your management and the storage admins should be involved.

If you are doing this just for your (and possibly some others') convenience - be aware that this may generate an unfavorable response. . .
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Jan 12, 2011 8:51 pm    Post subject:
Reply with quote

Quote:
If not in sas then send(??) me code use only mainframe
May be something like this:
Code:
//RECALL EXEC PGM=IKJEFT01,DYNAMNBR=20,TIME=(9)           
//SYSTSPRT DD SYSOUT=*                                     
//SYSPRINT DD SYSOUT=*                                     
//SYSUDUMP DD SYSOUT=*                                     
//SYSTSIN DD *                                             
 HRECALL 'Dataset to recall' NOWAIT
/*       
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1458
Location: Azeroth

PostPosted: Fri Jan 14, 2011 3:12 pm    Post subject:
Reply with quote

The below SAS program calls REXX and executes the TSO HRECALL command.

Code:
OPTIONS REXXMAC;                                                       
DATA _NULL_;                                                           
FILE 'WELLS.SAMPLE.PDS(RECALREX)';   /* SOME RANDOM WORK PDS     */     
DS = "'WELLS.BACKUP.PDS'";           /* DESIRED DS FOR RECALLING */   
PUT '/*REXX*/';                                                         
PUT 'ADDRESS TSO "HRECALL " "' DS'" "WAIT"';                           
PUT 'EXIT';                                                             
RUN;                                                                   
FILENAME SASREXX 'WELLS.SAMPLE.PDS' DISP=SHR;                         
RECALREX;
FILENAME SASREXX;



I cannot imagine on what scenario recalling from SAS is needed, but the above code works.

U can switch
Code:
PUT 'ADDRESS TSO "HRECALL " "' DS'" "WAIT"';

to
Code:
PUT 'ADDRESS TSO "HRECALL " "' DS'" "NOWAIT"';

if you dont want to wait until dataset recalls.

Hope it helps.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm
No new posts Comparex utility to Syncsort conversion mistah kurtz SYNCSORT 11 Fri Jul 22, 2016 1:53 pm
No new posts DXT unload utility - DVRE0000 mistah kurtz DB2 1 Thu Jul 07, 2016 4:56 pm


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