I have found that there might be something that was overlooked. Dahman wanted me to add that "dbo." was added to the table. This is required.

So we started out with this in this posting:

**@execsqlproc(PSOARIAN SC_1832_TDM SHARED,Arc_sp_FetchNextID,HfcId,IN,622,Radix,IN,1,NextID,OUT,0,MaxID,OUT,0,NextID)@**

The SQL example form was:

@execsqlproc(PTravelX,dbo.extractCounter,paramin1,in,’Test’,paramin2,in,100,paramout1,output,0,paramout2,output,0,paramout2)@

This was correctly changed to include, among other items, the "dbo." and this is the resulting working form:

@execsqlproc(PSOARIAN SC_1832_TDM SHARED,dbo.Arc_sp_FetchNextID,HfcId,IN,622,Radix,IN,1,**NextID,OUT,,MaxID,OUT,,NextID**)@

In addition to this whole posting, here is another start and ended up to be example:

Started here:

@execsqlproc(PTDM_Internal,GetTitleRow,Silo,IN,'P',out_seq,OUT,,out_seq)@

Mid point transition:

@execsqlproc(Pordersdsmless,dbo.GetTitleRow,Silo,IN,'5',out_seq,OUT,,out_seq)@

And ended with:

Please use double quotes

@execsqlproc(Pordersdsmless,dbo.GetTitleRow,Silo,IN,"5",out_seq,OUT,,out_seq)@

Please feel free to post additional examples if you find something working for you!

Cheers!

Les