I have been working on a project and I am currently STUCK. I need to enter a line of code in a source member (programmatically). I am using sql in my program and the INSERT command but the lines always end up at the bottom of the source. How can I insert the lines in a specific sequence?
This is kinda what I've got going on:
begsr insert_line;
newseq# = seq# + 0.01;
newline = 'auto code test';
newdate = udate;
exec sql
insert into insert1
(srcseq, srcdat, srcdta)
values(:newseq#, :newdate, :newline);
endsr;
Thanks for the help.
This is kinda what I've got going on:
begsr insert_line;
newseq# = seq# + 0.01;
newline = 'auto code test';
newdate = udate;
exec sql
insert into insert1
(srcseq, srcdat, srcdta)
values(:newseq#, :newdate, :newline);
endsr;
Thanks for the help.






Comment