Page 1 of 1

Assembler program to retrive IDCAMS LISTCAT entries for VSAM

PostPosted: Mon Aug 31, 2009 8:13 am
by Mahe2009
Hello,

I need to generate a report in assembler programe to retrive the VSAM file information such as CI spilt, CA Split and number of records. similar to the information that can be acheived by LISTCAT ENT(/) ALL command. But i am not sure how IDACAMS can be called in Assembler programe to acheive it ???

Please can any one help me by providing a sample code or reference book to acheive this

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

PostPosted: Mon Aug 31, 2009 10:26 am
by enrico-sorichetti
IBM will do it for You....
SYS1.SAMPLIB(IGGCSI**)

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

PostPosted: Wed Sep 02, 2009 8:59 am
by Mahe2009
Thanks so very much "enrico-sorichetti"

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

PostPosted: Thu Sep 03, 2009 7:42 am
by Mahe2009
Hello enrico,

I tried executing IGGCSI** Programme but it is not providing formation iam interested on.

Currently for my situation i need to code a assembler program which accept a list of vsam cluster name as input and it needs to generate the output report stated below,

Cluster name, keylength, CI-split, CA-split, Record lenth, Record size, CIsize, freebuffer.

i have read some IBM manuals which is stating it can be acheived by using SHOWCAT macro with out coding ACB inside the program which is optional,

But i am still fighting with how to build the parameter list and call SHOWCAT macro in assembler program,

Please advice if any good examples or manuals, which explains how to call them in assembler programme.

Thanks

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

PostPosted: Thu Sep 10, 2009 1:36 pm
by enrico-sorichetti
I mildly suggest that Your understanding of things is a bit wrong

what You get from a LISTCAT
You can get it from CSI ( Catalog Search Interface )
and the info You get from a SHOWCAT is just the same
( otherwise the name would be something else )

I pointed You to samples, not to code written for Your need,
taking that as a skeleton You will have to develop Your own code

read the docs and You will see that what You want to get is there
start from
http://publibz.boulder.ibm.com/cgi-bin/ ... 0608131553
and proceed to
http://publibz.boulder.ibm.com/cgi-bin/ ... 0608131553

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

PostPosted: Wed Sep 23, 2009 6:29 am
by Mahe2009
Thanks enrico.