iSeries (AS/400) CL and Command Programming Tips, Techniques, and Articles
Return to list of categories.
- 'No Sweat' Command Help - Create Command Help (CRTCMDHLP) command
- A power-handling CL program for multiple IBM i servers
- A simple batch debugging tool. It is easy to set it up.
- A Solution to the Numeric Parameter Problem
- A technique for retrieving number of records selected by OPNQRYF
- A technique for Sending a Break message to user work station
- A way to execute SQLstatements from CL using the QSH Command
- A way to get a CL program name and library without using an API (from Petre)
- AN ARRAY IN CL? by Scott Klement
- Automate Daylight Savings time change
- Avoiding Repetitive Code in CL
- Calculating a Remainder in CL
- Call a Subprocedure from CL by Scott Klement
- Call RPG Subprocedures from CL
- Can a Limited User Run Commands from a Command Line? by Dan Riehl
- Check a Date in CL
- Check Subsystem Status
- CL based "ping" check
- CL Command Defs Get a Face-Lift in i5/OS 6.1 by Bob Cozzi
- CL commands, WRKLICINF and WRKENVVAR, have become quite useful. by Robert Cozzi, Jr.
- CL for Files (CLF) Solves Age-Old Problem of Poor CL Database Support
- CL Odds and Ends
- CL's Null Value
- Clean up your MONMSG
- CLLE's CALLPRC Command by Robert Cozzi, Jr.
- Commands with Generic Parameters
- Control CL Commands with Command Exit Programs -- Part 1 by Dan Riehl
- Control CL Commands with Command Exit Programs -- Part 2 by Dan Riehl
- Control Language Copybooks using the 6.1 INCLUDE command
- Convert case to mixed case ABC123 to Abc123
- Convert Text to Lowercase in CL
- Converting EBCDIC to CSV
- Copy a file to an CSV file
- Create a Physical File in CL by Scott Klement
- Create CL Commands from CL Program Source Code by Paul Amsden
- Creating a CL trigger program
- Creating Commands with Variable-Length Parameters! by Ted Holt
- Database Operations in CL
- Database Output from CL
- Date Math in CL
- Date Values - RPG + CL = Better Date Manipulation
- Date-Handling in CL Procedures by Ted Holt
- DAYSPAST CLLE program for AS/400: Compares object creation date with today's date by Raymond Johnson
- Determining whether a job is running Interactive or Batch in CL
- Did OPNQRYF Retrieve Records?
- Display Job Locking A Record
- Duplicating a Data Queue
- Easy Printing From CL
- Easy Printing from CL, Take Two
- Editing Numbers in CL
- Editing Numbers in CL, Take Two
- Enhance i5/OS with IBM's Blessing! by Ted Holt
- Example of executing a URL from a CLP
- Executing SQL Statements from CL Programs
- Extracting Decimal Elements from Command Lists in V5R3 by Paul Amsden
- Find the Length of a Character String in CL
- Find the Length of a Character String in CL, Take Two
- Finding String Length in CL
- Five Simple Things to Know About CVTDAT by Ted Holt
- FOOLPROOF TECHNIQUES FOR OPNQRYF COMMAND SELECTION STRING
- Generating a Random number on an iSeries in CL
- Get the Library Name for the current program
- Get to Know Some Powerful CL Commands by Bruce Guetzkow
- Grab Data from the Screen, Part 2 by Scott Klement
- Handling QShell Errors in a CL Program
- How a CL Program Can Cope with Floating Point by Scott Klement
- How do I change an eight-digit date (YYYYMMDD) into a seven-digit Julian date (YYYYDDD)?
- How do I check for a leap year in a CL program?
- How to Check if a Directory in the IFS Exists
- How to create/convert a command object (CMD) from a CL program (CLP)
- How to define iSeries commands by Ron Turull
- How to delete an object from QDLS using CL
- How to display a message to a user at the bottom of the screen after a CL program has completed.
- How to Get the Volume Identifier of a Tape by Scott Klement
- How to retreive version of OS/400
- How to Work with a List of *DEC Values in CL by Scott Klement
- IFS Directory Listing from CL by Scott Klement
- ILE CL can boost productivity and performance by Ron Turull
- Import a Variable in CL by Scott Klement
- Incrementing a Numeric Value Across Jobs by Bruce Vining
- Is there a way to run a command from Windows that will start a session and execute a CL command on AS/400?
- Length of CL Variables
- Loading PTF Cover Letters from CD-ROM
- Make a CL Program or Module Retrieve Its Name
- Message break-handling programs
- Message Received, But Not Understood
- More About Commands and Variable-Length Parameters by Ted Holt
- New CL Command to Enable NetServer Users by Carsten Flensburg
- New CL Command to Work with Disabled NetServer Users by Carsten Flensburg
- New CL Features in Advanced Job Scheduler by Brian Younger
- Pointers in CL?
- Processing Database Files with CL
- Programming in CL? Check out these five tips
- Prompt and Submit CL Commands
- Proper CL Error-Handling
- Put Help on Your CL Commands: It's Easy! by Scott Klement
- Retrieve an IFS Stream File's size
- Retrieve CL Command Attributes with RTVCMDINF by Carsten Flensburg
- Retrieve program stack
- Retrieving an IP Address via a CL Program
- Returning the Library Name for a Given Object
- Returning the Library Name for a Given Object -- Part 2
- Reverse a String in Pure CL by Scott Klement
- Sample LE/date functions from CLPLE
- SBMJOB, CALL, And Decimal Parameters
- Submit a Prompted Command to Batch
- Taking advantage of CL advancements, starting with V5R3
- Testing to see if System is in Restricted Condition
- The CL Corner: A Much More Flexible SNDESCAPE Program
- The CL Corner: Add Your Own Options to the IBM WRKOUTQ Command by Bruce Vining
- The CL Corner: Alternatives to the CEE Date and Time APIs by Bruce Vining
- The CL Corner: Controlling the CL Testing Environment
- The CL Corner: Create Reusable Code by Bruce Vining
- The CL Corner: Determining What Program Is Being Tested by Bruce Vining
- The CL Corner: Going Where No Substring (%SST) Operation Can Go
- The CL Corner: Handling Those Pesky Holidays by Bruce Vining
- The CL Corner: Just How Big Is That Variable? by Bruce Vining
- The CL Corner: Learn More About C Run-Time APIs by Bruce Vining
- The CL Corner: More Granular Date and Time Support by Bruce Vining
- The CL Corner: More on ILE CEE Date and Time APIs by Bruce Vining
- The CL Corner: More on ILE CEE Time APIs by Bruce Vining
- The CL Corner: Retrieving Test Case Information
- The CL Corner: So You're Looking for a Date? by Bruce Vining
- The CL Corner: Still Programming Like You Did with V1? by Bruce Vining
- The CL Corner: What's New with Files? by Bruce Vining
- The CL Corner: Working with Bits by Bruce Vining
- The Power of the Question Mark in CL Programs and Menus by Dan Riehl
- The RUN Utility: Call a Program with Correctly Formatted Parameters by Ted Holt
- This program illustrates how to write a CL program that adds or subtracts a given number of days for the current system date or any CCYYMMDD year.
- Time to Start Using Subroutines in CL
- Trap and remove messages from joblog in a CL program
- Two quick and simple commands to help IS personnel deal with "insufficient authority"
- UPPERCASE - a command to convert a character value to all uppercase
- Use %ABSVAL to Avoid Division by Zero
- Use %ABSVAL to Convert Negative Numbers to Zero
- Using a dataarea with Ping Addresses to check
- Using Dynamic SQL in CL: Part 1--Running Action Queries by Michael Sansoterra
- Using Dynamic SQL in CL: Part 2--Retrieving a Data Value by Michael Sansoterra
- Using PING in a CL Program
- Utility Helps with the Killing - Kill Command
- V5R4 CL Enhancements, Revealed and Detailed by Ted Holt
- V6R1 CL Enhancements by Ted Holt
- V6R1 CL: The Story Continues by Bruce Vining
- Waiting for Batch Jobs to Complete
- Want Help with Your Commands? by Guy Vig
- What program triggered the trigger? / Call stack
- What You Can (and Cannot) Do with CL Variables by Ted Holt
- What's New in CL Programming by Kevin Forsythe
- When Users Need to Create Duplicate Objects
- Write Source CL Command
- Writing to a file from CL -- revisited by Steve Riedmueller