Warning: Declaration of TCB_Menu_Walker::walk($elements, $max_depth) should be compatible with Walker::walk($elements, $max_depth, ...$args) in /home/nicklit/www/www/wp-content/plugins/thrive-visual-editor/inc/classes/class-tcb-menu-walker.php on line 620

Warning: session_start(): Cannot start session when headers already sent in /home/nicklit/www/www/wp-content/plugins/userpro/includes/class-userpro.php on line 222
Find all turnover projects and subprojects that are checked out - Nick Litten is IBM-i, AS400 iSeries RPG Programmer and Nerd

Find all turnover projects and subprojects that are checked out

IBM i

Feb 14

Ever wanted to see a quick list of everything that is checked out for a Turnover Project? Lets imagine that Project has many subprojects? We can use the Turnover V100 plugin for RDI, or we can use the good old green screen to poke around but it’s much easier to peek into the Turnover Database itself using SQL.

Very easy to see with one simple SQL command:

select * from softturnd/toutlgll where coref# like 'PROJ0099%'

This will show you every object that is checked out for that 'PROJ0099' and all subsequent 'PROJ009901' '02' '03' etc.. projects

If you want to exclude specific levels (on our system Level=’20’ is production) just use the colev field. ie:

 select * from softturnd/toutlgll where coref# like 'PROJ0099%' and colev <> '20'

Follow

About the Author

IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Alpha Nerd and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and in the words of the most interesting man in the world: Stay thirsty my friend.