Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Insert Statement

Former Member
0 Kudos

Hi,

I have written one program which reads records from input file and those records are inserted in Z table with 'INSERT' statement.

Please let me know whether there is a need to call enqueue and dequeue function modules ?

Regards,

Netra

1 ACCEPTED SOLUTION

Former Member
0 Kudos

well you need to know that

its a Z-Table, so only you guys who created this Z-Table can know when it will be used.

but well if you enqueue the table before inserting you dont do anything wrong.

just make sure to dequeue it afterwards

4 REPLIES 4

Former Member
0 Kudos

well you need to know that

its a Z-Table, so only you guys who created this Z-Table can know when it will be used.

but well if you enqueue the table before inserting you dont do anything wrong.

just make sure to dequeue it afterwards

Former Member
0 Kudos

no need

Former Member
0 Kudos

hi

no need to enqueue or dequeue.

coz you are not fetching records from the table ..records are in your file..and you are goin to insert those recods into the table which dont exist in table b4.

so you can not lock or unlock the records which are not in table..

thnks

0 Kudos

Yes it is always a best practice to Enqueue and Dequeue any table befor you update ...Even a ZTABLE as you will not be the only one using that table.

Create a Lock Object and create the Enqueue and Dequeue Function module for this purpose..

Raghav