View previous topic :: View next topic
|
Author |
Message |
ayyappa_22523 Warnings : 2 New User
Joined: 02 Jun 2005 Posts: 36 Location: Hyderabad
|
|
|
|
hi
i had a question that based on db2
u had every permission on a table . in cobol + db2 prog where u use create table command in working storage section and procedure division. |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Quote: |
in working storage section and procedure division. |
I prefer Working Storage Section. |
|
Back to top |
|
|
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
Back to top |
|
|
yogesh
New User
Joined: 27 May 2005 Posts: 21
|
|
|
|
i will suggest not to create the table in the program, u should create it in SPUFI and then use it in the application program |
|
Back to top |
|
|
khamarutheen
Active Member
Joined: 23 Aug 2005 Posts: 677 Location: NJ
|
|
|
|
hi frnd,
the better thing is u can create the table in the procedure division will b the right choice.
Eg.
EXEC SQL
CREATE TABLE TNAME(....
...
) in ..;
END-EXEC.
hope above works |
|
Back to top |
|
|
|