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

Recall File Names in PS File


IBM Mainframe Forums -> JCL & VSAM
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Wed Sep 12, 2012 12:58 pm
Reply with quote

Hi,

i want to recall all the migrated datasets specified in PS File(Like Control Card input File).

is there any utility in JCL to do this.

HRECALL is not working in my mainframe

also i tried LISTDSI recall its not working for datasets not in DASD.

thanks in advance
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Sep 12, 2012 1:17 pm
Reply with quote

Quote:
is there any utility in JCL to do this.
no

is there any utility to do this.
yes, depends on what is available at your site

Quote:
HRECALL is not working in my mainframe

odd.
what do you mean by not working?
what error messages do you receive?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Wed Sep 12, 2012 1:47 pm
Reply with quote

Quote:
is there any utility in JCL to do this.

What do you mean by this? Is there a utility written in JCL that can do it? JCL is not a programming language so it nothing can be written in it to do programming tasks. Can JCL run a utility to do it - yes! Almost everything on the mainframe has JCL somewhere - TSO, CICS, IMS, initiators all execute via JCL.
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Wed Sep 12, 2012 1:49 pm
Reply with quote

COMMAND HRECALL not found
this is the error message im getting
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Sep 12, 2012 1:50 pm
Reply with quote

how, exactly, are you attempting to invoke the 'command' HRECALL?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Sep 12, 2012 1:51 pm
Reply with quote

the info posted is not enough !
from where are You issuing the HRECALL

time to speak to Your support

edite to add ...
You just beated me Dick icon_wink.gif
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Wed Sep 12, 2012 1:52 pm
Reply with quote

i just asked Like IEFBR14 is there any other IBM utility available for recall migrated datasets which can perform with sysin control card
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Sep 12, 2012 1:53 pm
Reply with quote

instead of speculating why don' t You reply to our questions ?

what happened when You searched the forum with batch hrecall ?
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Wed Sep 12, 2012 2:42 pm
Reply with quote

Code:
//STEP001F EXEC PGM=IKJEFT01                     
//SYSTSPRT DD SYSOUT=*                           
//SYSUDUMP DD SYSOUT=*                           
//SYSPRINT DD SYSOUT=*                           
//SYSTSIN  DD *                                   
  HRECALL 'XXXXXX.XXX.P02000.XXXXXTO.XXX' WAIT 
/*                                               


i used this code
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Sep 12, 2012 2:47 pm
Reply with quote

the approach has been used for ages without any trouble,

definitely time to speak to Your support !

what happened when You issued the same command from Your TSO session ( ISPF OPTION 6 ) ?
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Wed Sep 12, 2012 2:55 pm
Reply with quote

same error COMMAND HRECALL NOT FOUND
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Wed Sep 12, 2012 2:58 pm
Reply with quote

we use IEFBR14 to recall all migrated datasets but i need to specify all the datasets in input DD statement. instead im looking for utility to give all dataset in control card and recall
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Sep 12, 2012 2:59 pm
Reply with quote

Quote:
instead im looking for utility to give all dataset in control card and recall


and that' s what the snippet You posted does

COMMAND HRECALL not found means that
HSM has not been installed properly

possibly something wrong in Your Linklist definition

for the umpteen time... speak to Your support

topic locked, it is leading to nowhere
Back to top
View user's profile Send private message
ezio vin

New User


Joined: 16 Aug 2012
Posts: 44
Location: india

PostPosted: Wed Sep 12, 2012 3:04 pm
Reply with quote

thanks a lot for the replies.

it would be much helpfull if you guys let me know about recall migrated datasets in REXX also
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 9
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Need help for File Aid JCL to extract... Compuware & Other Tools 23
Search our Forums:

Back to Top