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 copy all memebers of the ca-librarian to a regular pd

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
bartoszr

New User


Joined: 03 Jul 2006
Posts: 3

PostPosted: Fri Nov 07, 2008 4:19 pm    Post subject: How to copy all memebers of the ca-librarian to a regular pd
Reply with quote

Hi, I'd like to download all the members of the ca librarian library onto a pc. I figured the easiest way to do it is to first copy all of them into a regular pds and then use ftp and mget them all. The question is - how to copy the most current version from ca-librarian into a pds? Or is there a simple way to achieve what I want?
Back to top
View user's profile Send private message

bartoszr

New User


Joined: 03 Jul 2006
Posts: 3

PostPosted: Fri Nov 07, 2008 5:49 pm    Post subject:
Reply with quote

OK, I have actually found the solution in one of the ibm's redbooks:
Code:

//*=====================================================================
//* UNLOAD MODULES FROM LIBRARIAN TO PARTITIONED DATA SET
//*====================================================================*
//* 1. GENERATE LIBRARIAN -SEL STATEMENTS WITH LIBRARIAN GPO *
//* INTO TEMP. DATA SET (DDNAME=OSJOB) *
//*--------------------------------------------------------------------*
//SELGPO EXEC PGM=AFLBPROG,PARM='NRJS,NJTA'
//MASTER DD DISP=SHR,DSN=LIBRA.MIGCOPY
//OSJOB DD DISP=(,PASS),DSN=&&OSJOB1,
// UNIT=SYSDA,SPACE=(TRK,(25,10),RLSE),
// DCB=(RV.PATTERN,LRECL=80,BLKSIZE=6080,RECFM=FB)
//SYSPRINT DD SYSOUT=Y,DCB=RECFM=FBA
//SYSIN DD *
-OPT GPO
-OPT TEMPS
-SEL NAME=,EXEC
-END
//*
//*--------------------------------------------------------------------*
//* 2. UNLOAD ALL MEMBERS SPECIFIED IN SYSIN FILE *
//* FROM LIBRARIAN TO PDS (DDNAME=OSJOB) *
//*--------------------------------------------------------------------*
//UNLOAD EXEC PGM=AFLBPROG,PARM='NRJS,NJTA'
//MASTER DD DISP=SHR,DSN=LIBRA.MIGCOPY
//OSJOB DD DISP=OLD,DSN=SFITZ.LIBRA.MIGCOPY
//SYSPRINT DD SYSOUT=Y,DCB=RECFM=FBA
//SYSIN DD DISP=(OLD,PASS),DSN=&&OSJOB1
//*====================================================================*


The above code is courtesy of ibm.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8167
Location: East Dubuque, Illinois, USA

PostPosted: Fri Nov 07, 2008 5:59 pm    Post subject:
Reply with quote

The Librarian User's Guide section 2.4.4 has the precise JCL required to dump a master file to a PDS.
Back to top
View user's profile Send private message
bartoszr

New User


Joined: 03 Jul 2006
Posts: 3

PostPosted: Fri Nov 07, 2008 6:03 pm    Post subject:
Reply with quote

Yeah, this is the same as I've posted. Thanks anyway!
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am

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