Ira,

Try copying one of these PDSs (IEBCOPY - COPYMOD) to a new one with the 
other blksize, and then proceed with your compare step. 


Atenciosamente / Regards / Saludos 

Ituriel do Nascimento Neto
Banco Bradesco S/A 
4254/DPCD Alphaville 
Engenharia de Software - Sistemas Operacionais Mainframes 
 
Tel: 55 11 4197-2021 Fax: 55 11 4197-2814 


-----Mensagem original-----
De: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] Em nome
de Ira Broussard
Enviada em: sexta-feira, 27 de abril de 2007 01:56
Para: [email protected]
Assunto: Counting occurrences of a string in loadlib

I have two load libraries (PDS's) that have different blocksizes. The
modules in the load libraries should be "logically" equivalent, but
since the blocksizes are different, they are not "physically"
equivalent. I need to count the occurrences of a given string (i.e.,
"change identifier") in each  load module and come up with a total for
each load library. I know I can browse  each member and do a "FIND
ALL...", but I would rather do the count in one  shot for each load
library. 
 
ISPF 3.14 and 3.15 ("Search For" and "Extended Search For") tell me how
many lines in each member contain the string and total number of lines
containing the string in the load library. The problem with this is that
in load library "A" (which has a block size of 32K), the string may
occur three times on a single line in module PROGRAM1, but in load
library "B"  (which has a blocksize of 6144), the same logical data in
PROGRAM1 takes  up multiple physical records, so the string shows up on
several  lines instead of one, so the count of lines with the string
don't match.
 
I don't see any standard IBM z/OS utilities that will do  this.
 
Thanks,
Ira Broussard



************************************** See what's free at
http://www.aol.com.

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

<HTML><font face="Tahoma" size="1"><HR>AVISO LEGAL <br>Esta mensagem é 
destinada exclusivamente para a(s) pessoa(s) a quem é dirigida, podendo conter 
informação confidencial e/ou legalmente privilegiada. Se você não for 
destinatário desta mensagem, desde já fica notificado de abster-se a divulgar, 
copiar, distribuir, examinar ou, de qualquer forma, utilizar a informação 
contida nesta mensagem, por ser ilegal. Caso você tenha recebido esta mensagem 
por engano, pedimos que nos retorne este E-Mail, promovendo, desde logo, a 
eliminação do seu conteúdo em sua base de dados, registros ou sistema de 
controle. Fica desprovida de eficácia e validade a mensagem que contiver 
vínculos obrigacionais, expedida por quem não detenha poderes de representação. 


<HTML><font face="Tahoma" size="1"><HR>LEGAL ADVICE <br>This message is 
exclusively destined for the people to whom it is directed, and it can bear 
private and/or legally exceptional information. If you are not addressee of 
this message, since now you are advised to not release, copy, distribute, check 
or, otherwise, use the information contained in this message, because it is 
illegal. If you received this message by mistake, we ask you to return this 
email, making possible, as soon as possible, the elimination of its contents of 
your database, registrations or controls system. The message that bears any 
mandatory links, issued by someone who has no representation powers, shall be 
null or void.

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

Reply via email to