Page 1 of 1

Librarian tool

PostPosted: Fri Feb 22, 2013 7:38 pm
by surime72
Hi

I am new to LIBRARIAN tool,it is version control tool

can you let me know how we need to search a string in librarian

Re: Librarian tool

PostPosted: Fri Feb 22, 2013 7:51 pm
by c62ap90
I have not done Librarian in about 5+ years but I have some notes that may help. You may have to change the STEPLIB for your shop and of course the MASTER name.
//*--- SCAN ENTIRE LIBRARY
//STEP010 EXEC PGM=LIBRSCAN
//STEPLIB   DD DSN=SYS.LINKLIB,DISP=SHR
//MASTER    DD DSN=TEST.SRC.LIB,DISP=SHR
//PRINTOUT  DD SYSOUT=(R,,)
//SYSIN     DD *
-OPT  DETAIL=N
-SCAN /WS-FIELD/
/*
//

//*--- SCAN FROM MODULES 'AAA' TO "ZZZ' AND
//*    COLUMNS 7 TO 72
-OPT  DETAIL=N               
-OPT  MOD-STR=AAA,MOD-END=ZZZ
-OPT  COL-STR=7,COL-END=72   
-SCAN /WS-FIELD/