TechTips / CL


TechTip: Lock and Lock PDF Print E-mail
Tips & Techniques - CL
Written by Junlei Li   
Friday, 26 September 2014 00:00

Create your own utility to lock what the Allocate Object (ALCOBJ) command does not allow you to lock.

junlei liWritten by Junlei Li

The Allocate Object (ALCOBJ) command is used to acquire one or more lock states on each of a list of objects. The lock states are allocated to the requesting thread, its containing job (i.e., MI process), or a lock space (i.e., an MI transaction control structure (TCS) object). Generally, the ALCOBJ command and its partner, the Deallocate Object (DLCOBJ) command, can achieve tasks similar to the Lock Object (LOCK) and Unlock Object (UNLOCK) MI instructions. But not exactly.

Add a comment
Last Updated on Wednesday, 24 September 2014 13:18
Register to read more...
 
User Rating: / 2
PoorBest 
Tech Tip: Investigating CL Routing Entry Commands PDF Print E-mail
Tips & Techniques - CL
Written by David Shirey   
Friday, 05 September 2014 00:00

The i offers a variety of CL commands to help us control and subdue the i. But some of them are more familiar than others. Let's look at one particular family of commands.

david shireyWritten by David Shirey

Sometimes, on a cold winter evening, as I sit quietly in my den dressed in my favorite smoking jacket and puff contentedly on one of my favorite pipes while a fire crackles on the hearth, I like to take an obscure CL command and just investigate the living daylights out of it. Unfortunately, I also do it during the blazing hot summer when I have had a few too many Sunset Susan cocktails. And that is the case this time.

Add a comment
Last Updated on Friday, 05 September 2014 00:00
Read more...
 
User Rating: / 2
PoorBest 
TechTip: Take Advantage of the SU CL Command PDF Print E-mail
Tips & Techniques - CL
Written by Junlei Li   
Friday, 15 February 2013 00:00

Switch to and back from different user profiles within the same job with ease.

junlei liWritten by Junlei Li

In UNIX or Linux, users switch to the super user (aka root) or another user via the su shell command (in a new shell, actually). With proper options, a su command can even preserve the original environment in the newly started shell sessionfor example, the -m option (do not reset environment variables) of the su command of GNU Linux. For an IBM i developer or operator, a CL command with function similar to the UNIX/Linux su shell command would be very handy.

Add a comment
Last Updated on Friday, 15 February 2013 00:00
Read more...
 
TechTip: Are You Using the QIBM_QDB_OPEN Exit Point Wisely? PDF Print E-mail
Tips & Techniques - CL
Written by Steve Pitcher   
Friday, 09 July 2010 00:00

If you dig a fence post hole with a backhoe, you will upset more dirt than you probably wanted.

steven_pitcherWritten by Steven C. Pitcher

My three-year-old son is a big Bob the Builder fan, and he's always reminding me to use the right tool for the job. The same principal can be applied to System i management in finding simple and effective solutions. System integrity and security is important, but you must take great care while implementing solutions in that area to limit the chances of adverse effects.

Add a comment
Last Updated on Friday, 09 July 2010 00:00
Read more...
 
User Rating: / 1
PoorBest 
The CL Corner: Overriding Commands and Their Parameter Values PDF Print E-mail
Tips & Techniques - CL
Written by Bruce Vining   
Thursday, 29 January 2009 19:00

Learn how to use the Command Analyzer Change exit point.

bruce_vining.jpgBy Bruce Vining

In the last column, we saw how proxy commands can be used to provide aliases for commands such as ENDJOB and SIGNOFF. Today, we'll look at how the Command Analyzer Change exit point can be used to conditionally alter the command string that is actually processed when using the KILL proxy command.  

Add a comment
Last Updated on Tuesday, 10 January 2012 11:20
Read more...
 
User Rating: / 2
PoorBest 
 
User Rating: / 11
PoorBest 
 
User Rating: / 1
PoorBest 
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 10

WEBCAST

MC Webcast CenterFEATURED WEBCAST

See What i Can Do With Modern RPG Development

Your applications deserve more than just a new look! Change the perception of the IBM i as “old” with modern development tips from IBM and Profound Logic Software.
Watch as Barbara Morris, Brian May and Alex Roytman dive beneath the GUI surface to show the benefits of:

 

  • Working with free-format RPG in IBM i TR7
  • Breaking free from “The Cycle” of traditional RPG development
  • Going beyond the 10 character limit in display and database files
  • And more!

You'll also see a live demonstration of these techniques as the presenters create a modern web application before your eyes! 

 

Watch the Webinar Now!

 

TRIAL SOFTWARE

MS Office Connector for Query/400

NGS' Qport Office enables Windows users to run IBM Query/400 queries to: 

 - Create and update Excel spreadsheets and Access databases

 - Create Word documents

 - Send to Windows screen and PC printers

No query conversion is required. Works with i5/OS V5R1 & above. Installs in minutes!

If you don’t have a budget to replace IBM Query/400, but want your users to have one click enhanced output of their queries.… Request the online license agreement and product download instructions today!

Offer good through December 31, 2013.

   MC-STORE.COM