jcl for convert tape file to disk file



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

jcl for convert tape file to disk file

Postby lxw039 » Wed Nov 05, 2008 1:09 am

hi, anybody have jcl for convert tape file to disk file, I want to check my input file stored in tape, thank you very much!
lxw039
 
Posts: 47
Joined: Tue Oct 07, 2008 11:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: jcl for convert tape file to disk file

 

Re: jcl for convert tape file to disk file

Postby santlou » Wed Nov 05, 2008 1:44 am

Use IEBGENER.
santlou
 
Posts: 15
Joined: Sat Aug 23, 2008 8:06 pm
Has thanked: 0 time
Been thanked: 0 time

Re: jcl for convert tape file to disk file

Postby dick scherrer » Wed Nov 05, 2008 2:37 am

Hello,

anybody have jcl for convert tape file to disk file
You don't convert from tape to disk (unless i misunderstand what you need), you copy.

As suggested, you might use IEBGENER.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: jcl for convert tape file to disk file

Postby lxw039 » Wed Nov 05, 2008 3:06 am

hi, my means is I want check my input file stored in tape, I have a jcl for convert tape file to disk file,
but when I run, it always has a abend code SB37 error. I don't the meaning of this code SB37, thanks.
lxw039
 
Posts: 47
Joined: Tue Oct 07, 2008 11:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: jcl for convert tape file to disk file

Postby dick scherrer » Wed Nov 05, 2008 3:12 am

Hello,

The b37 says you have run out of space.

How many records are on this tape? What do you want to "check"? How did you calculate the space parameter you used in your jcl for the disk file?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: jcl for convert tape file to disk file

Postby lxw039 » Fri Nov 07, 2008 2:10 am

thank you very much!
lxw039
 
Posts: 47
Joined: Tue Oct 07, 2008 11:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: jcl for convert tape file to disk file

Postby GeorgeQ » Fri Sep 01, 2017 9:41 pm

Let me use one of my codes you maybe want the most to answer the question.




//TAPE2DA JOB (K,601-6916,601-6916),GEO,CLASS=1,NOTIFY=&SYSUID
/*ROUTE PRINT FETCH
/*JOBPARM ROOM=DOR,L=9999
//COPY1 EXEC PGM=IEBGENER
//SYSUT1 DD DSN=A00000.H00000.ONTAPE,DISP=SHR
//SYSUT2 DD DSN=A000000.X000000.ONDISC,
// DISP=(MOD,CATLG,DELETE),UNIT=(SYSDA,3),
//* SPACE=(CYL,(50,20),RLSE)
// SPACE=(CYL,(6000,600),RLSE)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *


if it helps please like. your like is important to me.

Thanks
GeorgeQ
 
Posts: 27
Joined: Fri Jun 16, 2017 1:08 am
Has thanked: 11 times
Been thanked: 0 time

Re: jcl for convert tape file to disk file

Postby Robert Sample » Fri Sep 01, 2017 9:50 pm

GeorgeQ, did you really think that you are adding much to a topic that was last posted to almost NINE years ago?

And have you actually tried your JCL? I did and got
IEF344I RLSTEST STEP01 SYSUT2 - ALLOCATION FAILED DUE TO DATA FACILITY SYSTEM ERROR
IGD17273I ALLOCATION HAS FAILED FOR ALL VOLUMES SELECTED FOR DATA SET              
RLS.TEST.JCL                                                                      
IGD17277I THERE ARE (49) CANDIDATE VOLUMES OF WHICH (24) ARE ENABLED OR QUIESCED  
IGD17290I THERE WERE 1 CANDIDATE STORAGE GROUPS OF WHICH THE FIRST 1              
WERE ELIGIBLE FOR VOLUME SELECTION.                                                
THE CANDIDATE STORAGE GROUPS WERE:TESTING                                          
IGD17279I 25 VOLUMES WERE REJECTED BECAUSE THE SMS VOLUME STATUS WAS DISABLED      
IGD17279I 4 VOLUMES WERE REJECTED BECAUSE THEY WERE NOT ONLINE                    
IGD17279I 4 VOLUMES WERE REJECTED BECAUSE THE UCB WAS NOT AVAILABLE                
IGD17279I 24 VOLUMES WERE REJECTED BECAUSE OF A DADSM FAILURE (044E0097)          
The 044E0097 DADSM failure indicates that an attempt was made to allocate more than 65535 tracks on a single volume, which was not allowed. If your JCL included DSNTYPE=LARGE, that would have prevented the DADSM error -- but as you presented the JCL a DADSM error is guaranteed (unless your site has an SMS pool with default DSNTYPE=LARGE which your JCL used). Furthermore, if the tape file has a couple of billion records on it, each 200 bytes long, your space allocation will fail. Before answering the originally posted question, the record length and record count are required to be known as otherwise any provided SPACE parameter may be inadequate.

Please try to post to reasonably current topics (hint: anything more than a year or so old is probably out of date for posting), and above all else, do not post erroneous JCL!
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post