Hi Manfred
In my shop we use a ISPF Frontend to control the CVS workflow for 
COBOL-Sources. 

if you want a quick & dirty solution: add 2 steps to your compile job:
1. checkout CVS
2. copy HFS file to PDSE
and vice versa to checkin

Sample:
//* ----------------------------------------------------------------- 
//* Checkout Modul aus CVS-Repository in CVS-Working Directory 
//* ----------------------------------------------------------------- 
//CVSCOTN EXEC PGM=AOPBATCH,PARM='sh -x' 
//STDIN   DD * 
REPO=/cvs/Repository 
PROJ=myProject  # Projekt 
MTYP=cbl     # Modul Typ 
if test "$MTYP" = "cbl" # COBOL Source 
then 
    cvs -d $REPO checkout $PROJ 
    RC=$? 
  fi 
fi 
if test RC -ne 0 
then 
  echo "cvs checkout error, rc=" $RC 
  exit $RC 
else 
  echo "*** Checkout erfolgreich beendet ***" 
fi 
/* 
//STDOUT DD SYSOUT=* 
//STDERR DD SYSOUT=* 
//STDENV DD DSN=SYSP.PARMLIB(USSENV),DISP=SHR  
//* -----------------------------------------------------------------
//* Copy HFS-File aus CVS Working Directory in MVS-Library Test 
//* -----------------------------------------------------------------
//CVSCOPY  EXEC PGM=IKJEFT01 
//INHFS    DD PATH='/myhomedirectory', 
//         PATHOPTS=(ORDONLY) 
//OUTMVS   DD DSN=MY.PDSE.COBOL(MEMBER),DISP=SHR 
//SYSTSPRT DD SYSOUT=* 
//SYSTSIN  DD * 
OCOPY INDD(INHFS) OUTDD(OUTMVS) TEXT CONVERT(YES) PATHOPTS(USE) 
/* 

HTH Albert 



Manfred Lotz <manfred.l...@googlemail.com> 
Gesendet von: IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu>
09.06.2010 16:43
Bitte antworten an
IBM Mainframe Discussion List <IBM-MAIN@bama.ua.edu>


An
IBM-MAIN@bama.ua.edu
Kopie

Thema
Re: Version control for PDS(E) members 






Hi Albert,

Thanks for your reply.

On Wed, Jun 9, 2010 at 2:14 PM, Albert Klimek
<albert.kli...@weltbild.com> wrote:
> Hi Manfred
> A low cost solution for z/OS is CVS for MVS (dccmn.com/cvsmvs).
> You can use it from USS-side via native CVS commands or via Batch-Job 
from
> TSO.
>

Yep, CVS or even simpler RCS would be possible. However, then I would
have to copy PDS member to USS, actually in both directions, as both
CVS and RCS can only deal with USS files as far as I can see.


-- 
Manfred

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


VERLAGSGRUPPE WELTBILD GMBH
Sitz der Gesellschaft: Augsburg
Handelsregister Augsburg HRB 6035 
Ust-ID-Nr: DE 127501299

Geschäftsführung:
Carel Halff (Vorsitzender), Dr. Martin Beer, Dr. Klaus Driever

Vorsitzender des Aufsichtsrates:
Dr. Klaus Donaubauer

Reply via email to