|
View previous topic :: View next topic
|
| Author |
Message |
kalukakkad
New User
.jpg)
Joined: 10 Mar 2005 Posts: 81
|
|
|
|
I have a program - SAMPLE11
WORKING-STORAGE SECTION.
01 WS-CURRENT-PACKAGESET PIC X(18).
PROCEDURE DIVISION.
EXEC SQL
SET :WS-CURRENT-PACKAGE-SET = CURRENT PACKAGESET
END-EXEC.
STOP RUN.
i have compiled with DB2 option = Yes, but have not binded it.
My question is how i am able to run this program using IKJEFT1B successfully(RC=0) without binding. |
|
| Back to top |
|
 |
abhishekmdwivedi
New User
.jpg)
Joined: 22 Aug 2006 Posts: 95 Location: india
|
|
|
|
can you please clarify your statement :-
| Code: |
EXEC SQL
SET :WS-CURRENT-PACKAGE-SET = CURRENT PACKAGESET
END-EXEC. |
|
|
| Back to top |
|
 |
kalukakkad
New User
.jpg)
Joined: 10 Mar 2005 Posts: 81
|
|
|
|
| I just want to ask, is it not necessary to bind(and why?) if we are accessing the registers like 'CURRENT PACKAGESET' ? |
|
| Back to top |
|
 |
dbzTHEdinosauer
Global Moderator

Joined: 20 Oct 2006 Posts: 6965 Location: porcelain throne
|
|
|
|
| Think he needs any help after nearly 4 years? |
|
| Back to top |
|
 |
Bharath Bhat
Active User

Joined: 20 Mar 2008 Posts: 283 Location: chennai
|
|
|
|
| How did you compile it? using a version control tool like endeavor? |
|
| Back to top |
|
 |
|
|