Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to recall migrated datasets beofre executing batch jobs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
dev.vinay

New User


Joined: 20 Sep 2006
Posts: 4
Location: Bangalore

PostPosted: Tue Sep 11, 2007 12:19 pm    Post subject: How to recall migrated datasets beofre executing batch jobs
Reply with quote

Scenario:

I have a batch job (JOBAA) which runs on weekly basis. It uses around 15 flat files. Usually these datasets get migrated (to tape) after one or two days of execution. Next time, when I try to run the same job (JOBAA) it takes lot of time to recall these datasets and then the executionn starts. Actually job's execution time is less than 5 mins but it takes 15-20 mins to recall and then execution starts. Since this is a scheduled job I having serious problems with it's dependecies.

Can you please help me with recalling the datasets well before execution of the JOBAA.

Suggestions and comments are welcome.

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

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Sep 11, 2007 12:30 pm    Post subject:
Reply with quote

vinay,

If possible change the MANAGEMENT class for the files.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Tue Sep 11, 2007 12:37 pm    Post subject:
Reply with quote

Vinay,

Other way is to schedule following jcl to riun befor ur job execution

Code:
//STEP1        EXEC PGM=IKJEFT01,REGION=512K                 
//SYSPRINT     DD SYSOUT=*                                   
//SYSTSPRT     DD SYSOUT=*                                   
//SYSTSIN      DD *                                           
  HRECALL    'DATASET NAME'      WAIT
/*
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Sep 11, 2007 12:41 pm    Post subject:
Reply with quote

Ekta,

Quote:
Other way is to schedule following jcl to riun befor ur job execution

Once the files get migrated, I believe recall process takes time whether you run seperate job (for recalling) or run the main job without recalling the files.

If you really want to save the recall time, CHANGE the management class (as said before) or try browsing the file once in 2/3 days manually (tedious process and need to remember).
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Sep 11, 2007 12:43 pm    Post subject:
Reply with quote

IEFBR14 will do the job too.

Code:
//RECALL  EXEC PGM=IEFBR14,COND=(0,LT)                   
//DD01     DD DSN=YOUR.DSN.HERE,DISP=SHR
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1187
Location: Bangalore,India

PostPosted: Tue Sep 11, 2007 12:45 pm    Post subject:
Reply with quote

Hi Murali,

Thats correct.
But what I am saying is to schedule a job befor running the actual job which does not require any manual intervation
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Tue Sep 11, 2007 1:22 pm    Post subject: Reply to: How to recall migrated datasets beofre executing b
Reply with quote

Hi !

Your organization must trade off between dasd occupancy and overall batch performance;
I do not know about Your environment ( dataset size, dasd constraints ),
but in general datasets with a steady weekly usage are not good candidates for any kind of migration,
even pre-recalling those dataset will not guarantee You a consistent batch response time.

regards

e.s
Back to top
View user's profile Send private message
prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Wed Sep 12, 2007 12:37 pm    Post subject:
Reply with quote

Hi Vinay,

You could consult your system admin and ask him / her to increase the timeframe for dataset to get migrated. As said by one of our friend, normally the dataset migration time will atleast be a week of time. So that if you are running the job with a frequency of 2 days there won't be any problem for you.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Generate public-private key in batch ... vasanthz All Other Mainframe Topics 3 Fri Sep 15, 2017 9:20 am
No new posts Working with hex values in Filemanage... Emile Straker IBM Tools 0 Tue Sep 12, 2017 1:42 am
No new posts self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us