Print Tape content without tools ??



Ask about System customization & performance, Workload management, I/O device configuration etc.

Print Tape content without tools ??

Postby Antonyraj85 » Wed Feb 26, 2014 5:03 pm

Hi Team,

Like to display/print 3490 tape content thru JCL. Does it possible without tools/assembler code ? I have tried DFP, IDCAMS, AMASPZAP and ISMF. But not able to do. Had google search and found COPYMODS(CBT Tape) . But it not working with V1.R13. Any help. . really apprciated. Even, this was asked before, please refer it.

Kind regards,
Antony
Antonyraj85
 
Posts: 79
Joined: Mon Jun 14, 2010 9:51 am
Has thanked: 0 time
Been thanked: 0 time

Re: Print Tape content without tools ??

 

Re: Print Tape content without tools ??

Postby BillyBoyo » Wed Feb 26, 2014 6:20 pm

You just want to see the data? In hex, or character? Did you try IEBGENER?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: Print Tape content without tools ??

Postby enrico-sorichetti » Wed Feb 26, 2014 6:40 pm

most probably the TS wants a listing of the content, IEBANTP, TAPEMAP, ANALTAPE, ...
IIRC the CBT collection has quite a few packages which include something like that
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Print Tape content without tools ??

Postby dick scherrer » Wed Feb 26, 2014 8:02 pm

Hello,

What do you mean by "tools"? The JCL has to run "something".

Does your system allow the use of DITTO?

Suggest that no matter what you use, make sure the first run is only a few records.
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: Print Tape content without tools ??

Postby Peter_Mann » Wed Feb 26, 2014 9:29 pm

I've used IDCAMS sucessfully to print HDR1, HRD2 and some data, you just need to be able to use BLP processing if you want HRD1 and or HRD2, for the data, LABEL=2,BLP should get you there, and I'll reiterate Dick's suggestion, only print some of the records
for IDCAMS for example;
PRINT INFILE(DD01) CHAR COUNT(100)
hth's
Peter
Peter_Mann
 
Posts: 139
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 14 times
Been thanked: 3 times

Re: Print Tape content without tools ??

Postby steve-myers » Wed Feb 26, 2014 10:48 pm

It depends. A utility like TAPEMAP (on the CBT tape) will display the contents of the labels, provided you can use LABEL=(1,BLP). At one time the SAS product had something like TAPEMAP; I don't know if it's still there.

If you know the data set name, the IDCAMS PRINT command will work well, as suggested by Peter_Mann.
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: Print Tape content without tools ??

Postby dick scherrer » Thu Feb 27, 2014 2:36 am

Hello,

Yes, there is a SAS process that wil do what is needed. If i can get onto that system tomorrow, i'll copy it here.

If i con't post by noon, please remind me.
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: Print Tape content without tools ??

Postby Antonyraj85 » Thu Feb 27, 2014 1:39 pm

Hi All,

TAPEMAP(CBT Tape - FILE804) worked fine for me(Unless it s not a multi volume tape). Sorry, we dont have SAS, DITTO in out Env. Thanks for all your help.

Kind regards,
Antony
Antonyraj85
 
Posts: 79
Joined: Mon Jun 14, 2010 9:51 am
Has thanked: 0 time
Been thanked: 0 time

Re: Print Tape content without tools ??

Postby dick scherrer » Thu Feb 27, 2014 8:44 pm

Hello,

For anyone following and looking for the SAS code:

//TAPE DD DSN=PS.TAPE.DUMMY,DISP=SHR,UNIT=CART,       
//     VOL=SER=310800                                 
//SAS.SYSIN DD *               
PROC TAPELABEL DDNAME=TAPE;     
TITLE1 '                ';     
TITLE2 '                ';     
TITLE3 '----------------';

On this system, the dataset name is always the same, only the VOLSER is changed.
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: Print Tape content without tools ??

Postby Peter_Mann » Fri Feb 28, 2014 9:36 pm

Thanks Dick, I've used SAS for so many years, and never knew PROD TAPELABEL was available!
Peter
Peter_Mann
 
Posts: 139
Joined: Fri Jun 24, 2011 7:37 pm
Location: Lowell,AR
Has thanked: 14 times
Been thanked: 3 times

Next

Return to System programming

 


  • Related topics
    Replies
    Views
    Last post