Assembler program to retrive IDCAMS LISTCAT entries for VSAM



Ask about System customization & performance, Workload management, I/O device configuration etc.

Assembler program to retrive IDCAMS LISTCAT entries for VSAM

Postby Mahe2009 » Mon Aug 31, 2009 8:13 am

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
Mahe2009
 
Posts: 4
Joined: Mon Aug 31, 2009 7:58 am
Has thanked: 0 time
Been thanked: 0 time

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

Postby enrico-sorichetti » Mon Aug 31, 2009 10:26 am

IBM will do it for You....
SYS1.SAMPLIB(IGGCSI**)
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

Postby Mahe2009 » Wed Sep 02, 2009 8:59 am

Thanks so very much "enrico-sorichetti"
Mahe2009
 
Posts: 4
Joined: Mon Aug 31, 2009 7:58 am
Has thanked: 0 time
Been thanked: 0 time

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

Postby Mahe2009 » Thu Sep 03, 2009 7:42 am

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
Mahe2009
 
Posts: 4
Joined: Mon Aug 31, 2009 7:58 am
Has thanked: 0 time
Been thanked: 0 time

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

Postby enrico-sorichetti » Thu Sep 10, 2009 1:36 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Assembler program to retrive IDCAMS LISTCAT entries for VSAM

Postby Mahe2009 » Wed Sep 23, 2009 6:29 am

Thanks enrico.
Mahe2009
 
Posts: 4
Joined: Mon Aug 31, 2009 7:58 am
Has thanked: 0 time
Been thanked: 0 time


Return to System programming

 


  • Related topics
    Replies
    Views
    Last post