EXAMPLES

www.cozTools.com

www.MidrangeNews.com

Contact Us

cozTools Examples

This page is updated dynamically from our own IBM i system and represents a real-time list of examples.

We are making available example code to help you start using our products right away. The examples below are included in your Developer or Enterprise Edition of cozTools in the RPGSAMPLES and CLPSAMPLES source files to give you a handle on how to use specific features or leverage a set of tools to create something new. This list will grow as we add more examples.

Examples (Click to display code)

Powered by COZTOOLS find out more

Click on a name in the list to view its contents.
Source Viewer © 2004 Robert Cozzi, Jr. All rights reserved.

MemberLast ModifiedViewsText
ADDLIBLE2013-03-19 22.03.151755Example ADDLIBLE and RMVLIBLE
CHANGEJOB2013-03-27 18.00.591885Example CHGJOB function
DB2LOCATE2013-03-23 07.55.171778Example DB2 I/O functions
DB2TOCSV2013-11-06 10.04.251512Example How to convert Database to CSV in RPG
DELAYME2013-03-25 14.05.471388Example DLYJOB - Most efficient Delay Job function
EDIT2013-07-26 11.44.211431Example Runtime %EDITC using ctEDIT
ENC_AES2013-10-28 17.12.261436Example AES Encryption functions
ENC_RC42013-10-28 17.08.231441Example RC4 Encryption functions
GETCALLER2013-03-27 08.42.591241Example getCallerPgmName() function
HASHPROOF2013-03-19 10.22.451374Example MD5 Hash Test written to joblog
HELLOWORLD2013-03-19 16.25.121359Example JobLog function of classic "Hello World"
IFSWRITE2013-07-31 15.45.211396Example ifsWrite - All-in-one IFS file writer
READSQL2013-10-18 11.40.361469Example SQLLIB dynamic SQL functionality
SENDESCMSG2013-05-23 10.41.021316Example SndEscMsg - Send Escape Message from RPG
SENDINQMSG2013-04-19 17.26.361198Example Send/Receive Inquiry Message from RPG
SENDMSGID2013-05-23 10.51.291364Example SndMsgID - Send Message usign MSGID
USERSPACE2013-03-19 22.08.231359Example Create User Space (CRTUSRSPACE) made easy!
XLATE2013-07-10 17.08.121406Example xLate to convert between upper/lower case

Powered by COZTOOLS find out more

Click on a name in the list to view its contents.
Source Viewer © 2004 Robert Cozzi, Jr. All rights reserved.

MemberLast ModifiedViewsText
CHGCASE2013-10-18 08.45.121400Example CLCONVERT with XLATE(*TOUPPER)
CHGCCSID2013-10-18 08.43.321337Example CLCONVERT with XLATE(*CCSID)
CHGJOBJOBD2013-12-20 12.53.091186Example Using CHGJOBA to change job using *JOBD
CHKJOB2013-12-18 11.23.311352Example CHKACTJOB (Check for Active Job by Name)
CLDATES2013-10-18 13.50.121309Example using RTVDATE in CL
EXITKEY2013-04-30 17.18.281241Example use of RtvExitKey from IBM-provided dsply
EXQRYFSUB2015-03-16 10.21.271013Example RUNSQLF with runtime substitution values
GETCALLING2013-03-24 21.01.281218Example-->call GetCaller *PGM-->getCallerPgmName()

Copyright © 2012 Cozzi Productions, Inc. All Rights Reserved.