Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Problem is COBOL Program with VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Problem is COBOL Program with VSAM
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us