IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Problem is COBOL Program with VSAM


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nandini

New User


Joined: 27 Feb 2004
Posts: 18

PostPosted: Sun Jun 06, 2004 10:36 am
Reply with quote

Hi


I have done a simple case study with cobol db2 and cics. Now i want to do it
with cobol vsam and cics. Using db2 we are including sqlca and dclgen member all these things but using vsam how can i use all this things or insted of this what entries i have to change. Can i specify any thing in the cics table entries .Can u give me a solution.

Love,
Nandini
Back to top
View user's profile Send private message
siddhuhandsome

New User


Joined: 28 Feb 2004
Posts: 12
Location: Hyderabad

PostPosted: Sun Jun 06, 2004 12:46 pm
Reply with quote

Hey nandini,

Can you be specific regarding the things you want to change, or rather
can you give a brief description about the case study you are looking to work.
If you can specify something regarding your requirements , we can arrive at a solution.
What exactly do u want to do?
Unlike DB2, I believe we cannot generate a copy book for a VSAM dataset's record structure.
If there are some tools I will also be on the look out.

Regards,
Siddhu
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 07, 2004 4:25 pm
Reply with quote

I believe we cannot generate a copy book for a VSAM dataset's record structure.
If there are some tools I will also be on the look out.

you are wrong, you can have copy book for VSAM dataset record structure (we are using those at our shop)
Back to top
View user's profile Send private message
nandini

New User


Joined: 27 Feb 2004
Posts: 18

PostPosted: Mon Jun 07, 2004 7:18 pm
Reply with quote

Hi

Before doing all, i think i have to include the file in fct.How can i change that table.What command is using for accessing that table.

I would like to know more about this.

Nandini
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 07, 2004 9:08 pm
Reply with quote

I don't think u need CICS FCT to have VSAM datasets copy-books.
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Mon Jun 07, 2004 9:11 pm
Reply with quote

I think copybooks are a COBOL related subject. u should post this in cobol related post.
Anyway copybooks are a way to have VSAM datastructres as variables (e.g. file definition) when u create a copybook it will be compiled in the same load library as your program during the program compil (no need to do separate compil).

and there is no copy book for SQL. (of course u can call cobol-sql subprogram from ur main pgm).

as already said post this in COBOL related thread
Back to top
View user's profile Send private message
nandini

New User


Joined: 27 Feb 2004
Posts: 18

PostPosted: Thu Jun 10, 2004 8:01 am
Reply with quote

Thank you very much sir
Back to top
View user's profile Send private message
ksivapradeep

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Wed Nov 10, 2004 3:15 pm
Reply with quote

hi,

just like in db2 u have to add 'COPY symbolic-mapset name' in working-storage section then u can use those fields(i,a,o,f,a) in ur program.

regards,
siva pradeep
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top