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
 

 

How to copy large dataset from TAPE to DASD memory?

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

Active User


Joined: 28 Jun 2010
Posts: 102
Location: chennai

PostPosted: Mon May 05, 2014 5:01 pm    Post subject: How to copy large dataset from TAPE to DASD memory?
Reply with quote

Hi,

I need to copy a large dataset from TAPE to DASD. I am trying all possible methods which i read from old posts. Previously I was getting ABEND SB37 and I have increased the cylinders. But now I am facing ABEND S322 time out. I gave TIME=MAXIMUM but still I am getting the time out abend. Please find my JCL details below and provide your suggestions,

Code:

//FXXXXA JOB ('COPY'),NOTIFY=&SYSUID,MSGCLASS=O,TIME=MAXIMUM     
/*JOBPARM L=9999,S=XXXX                                               
//STEP00 EXEC PGM=IEBGENER                                             
//SYSIN DD DUMMY                                                       
//SYSUT1 DD DSN=TAPE FILE,                   
//          DISP=SHR                                                   
//SYSUT2 DD DSN=DASD FILE,               
//          DISP=(NEW,CATLG,DELETE),                                   
//          DCB=(RECFM=FB,LRECL=4209,BLKSIZE=0,BUFNO=64),             
//          SPACE=(CYL,(8000,8000),RLSE),UNIT=DELQ,DATACLAS=EXTADRC   
//SYSPRINT DD SYSOUT=*                                                 


Note: Few confidential info I have replaced with "XXXX".
Thanks in advance.
Back to top
View user's profile Send private message

Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7234

PostPosted: Mon May 05, 2014 5:17 pm    Post subject: Reply to: How to copy large dataset from TAPE to DASD memory
Reply with quote

Can you post the sysout from the step, please? Is TIME=MAXIMUM something at your site? TIME=1440 or TIME=UNLIMITED are standard, but it would seem odd that you have a tape copy which runs out of CPU time. Are you running in an initiator which has its own time limit which you cannot override?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Mon May 05, 2014 5:52 pm    Post subject:
Reply with quote

It is unusual for a tape copy to run out of time, unless as Bill indicated the job class you are running in has a time limit.

You need to work with your site support group as they know your environment and how to achieve what you want to do. We on this forum do not work at your site and have no idea about its limitations and specifics.
Back to top
View user's profile Send private message
steve-myers

Active User


Joined: 30 Nov 2013
Posts: 461
Location: The Universe

PostPosted: Mon May 05, 2014 6:44 pm    Post subject:
Reply with quote

IEBGENER is hardly the most CPU efficient method to copy data, but the problem seems rather odd. Most of us are too lazy to use something that is more CPU efficient even if we are aware of the issue. Some other agent hiding behind the scenes may be chewing up the CPU, such as an agent to decrypt data coming from the tape.

Mr. Woodger's thought about an "initiator time limit" is almost on the spot, but slightly misplaced. "Standard" MVS usually imposes what amounts to a step time limit based on job class. All of us old dinosaurs have been zapped by this at one time or another. Most sites set this time limit rather low, but it is trivial to override this step time limit; we just forget to do it. Just code TIME=nnn on the EXEC statement, where the nnn is greater than the installation imposed time limit. Look for the

IEF374I STEP/xx /STOP 2014124.2201 CPU 0MIN 58.15SEC SRB 0MIN 04.13S

message in the JESYSMSG data. This step used almost 1 minute of CPU time. If the step time limit is one minute AND the step required a couple more seconds CPU time the step would have failed even if the job time limit is adequate.

You should be able to determine your installation's default. These instructions are for JES2; JES3 would be different.
  1. Determine the job class used for the job. Look for the $HASP373 message in the JESMSGLG data set for the job. This message has CLASS x in it.
  2. Enter the $DJOBCLASS(x) command. If you are allowed to enter this command you should see a long response in message $HASP837; the default step limit is near the beginning as TIME=(nnnn,nn).
  3. If you can't use the $DJOBCLASS command, you might be able to find the default in the JES2 initialization parameters. This is a little more difficult, and it might be hidden in a RACF protected data set anyway.
  4. You can probably make a good guess by using the time in the IEF374I message if worse comes to worse.
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 May 05, 2014 8:33 pm    Post subject:
Reply with quote

Hello,

Suggest you speak with your storage management and learn if there is a preferred unit and dataclas.

Change the execution to use your sort product to do the copy. This will use far less cpu resource and will execute considerable faster.
Back to top
View user's profile Send private message
Gopalakrishnan V

Active User


Joined: 28 Jun 2010
Posts: 102
Location: chennai

PostPosted: Tue May 06, 2014 7:02 pm    Post subject: Reply to: How to copy large dataset from TAPE to DASD memory
Reply with quote

Hi All,

Thank you all for your suggestions. I had given TIME=1440 in step level and got authority issue. So i gave TIME=1400 and job completed successfully.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7234

PostPosted: Tue May 06, 2014 7:10 pm    Post subject: Reply to: How to copy large dataset from TAPE to DASD memory
Reply with quote

Please don't ignore Dick's advice in the same way you've ignored requests for more information.
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: Tue May 06, 2014 7:12 pm    Post subject:
Reply with quote

Hello,

You should NOT use time=1440. Period.

Well managed organizations will flush these when they are submitted.

If a simple copy takes that much resource, there is something wrong. Possibly the selection of iebgener as the copy program.

How many records are being copied? Why is something this large being copied to dasd?
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 syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts Not able to compress a very large PDS Hervey Martinez JCL & VSAM 7 Fri Nov 04, 2016 5:57 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


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