RPG IV From A to Z

A comprehensive glossary of RPG IV and ILE terms:
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Current at Version 6 Release 1.
Color Key:
Required syntax
Optional syntax
Obsolete entry
 

D

D-Specifications (Definition Specifications)
Section of an RPG program that defines data items, such as standalone fields, named constants, data structures, prototypes, and proecedure interfaces.
%Date()
Function. Convert to Date.
Usage: %DATE(expression:format)
Datedit
Keyword (H-spec). Date edit (Y edit code).
Usage: DATEDIT(format-and-separator)
Datfmt
Keyword (H-, F-, D-spec). Date format.
Usage: DATFMT(format-and-separator)
%Days()
Function. Convert to Number of Days.
Usage: %DAYS(numeric-expression)
Dealloc
Operation code. Free Storage.
Usage: DEALLOC(en) pointer-name ;
Debug
Keyword (H-spec). Debug options.
Usage: DEBUG(*DUMP *INPUT *XMLSAX)
Usage: DEBUG(*NO|*YES)
%Dec()
Function. Convert to Packed Decimal.
Usage: %DEC(expression:digits:decimals)
Usage: %DEC(date-expression:format)
Decedit
Keyword (H-spec). Decimal notation.
Usage: DECEDIT(*JOBRUN|'value')
%Dech()
Function. Convert to Packed Decimal with Half-Adjust.
Usage: %DECH(expression:digits:decimals)
%Decpos()
Function. Get Number of Decimal Positions.
Usage: %DECPOS(numeric-expression)
Decprec
Keyword (H-spec). Decimal precision.
Usage: DECPREC(30|31)
Define
Operation code. Define Field.
Usage: Obsolete. Use D-specs with Like.
Delete
Operation code. Delete Record.
Usage: DELETE(ehmr) search-arg name ;
Descend
Keyword (D-spec). Array/table in descending collating sequence.
Usage: DESCEND
Devid
Keyword (F-spec). Program device for SPECIAL file.
Usage: DEVID(field-name)
Dftactgrp
Keyword (H-spec). Compile unit to use default activation group.
Usage: DFTACTGRP(*YES|*NO)
Dftname
Keyword (H-spec). Default name for compile unit.
Usage: DFTNAME(name)
%Diff()
Function. Get Difference Between Dates/Times/Timestamps.
Usage: %DIFF(date1:date2:duration)
Dim
Keyword (D-spec). Number of elements in table/array (1-16773104).
Usage: DIM(numeric-constant)
%Div()
Function. Get Integer Portion of Quotient.
Usage: %DIV(dividend:divisor)
Div
Operation code. Divide.
Usage: Obsolete. Use / operator, or %Div.
Do
Operation code. Do.
Usage: Obsolete. Use For.
Dou
Operation code. Do Until.
Usage: DOU(mr) logical-expression ;
Douxx
Operation code. Do Until.
Usage: Obsolete. Use Dou.
Dow
Operation code. Do While.
Usage: DOW(mr) logical-expression ;
Dowxx
Operation code. Do While.
Usage: Obsolete. Use Dow.
Dsply
Operation code. Misplay Message.
Usage: DSPLY(e) message output-queue response ;
Dtaara
Keyword (D-spec). Data area name.
Usage: DTAARA(*VAR:data-area-name)
Dump
Operation code. Dump Program.
Usage: DUMP(a) identifier ;
 
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
 
E-mail to Bryan Meyers
Privacy and Email Policy
 
AS/400®, eServer, i5/OS, IBM i, Integrated Language Environment®, iSeries, OS/400®, RPG/400®, System i5, VisualAge®, and WebSphere® are trademarks of IBM Corporation. Note: IBM® System i is the latest member of the family of eServer iSeries. This site might refer to System i as System i5, iSeries, or AS/400.
 

If you are having trouble navigating the menu at the top of this page, you may use the following scrollable site map instead:
 
Powered by Google

Self-paced Training on DVD
Self-paced DVD training
Now you can take iSeries training on your own schedule, without any time limitations. These packages combine lecture sessions on DVD with informative handouts and lab exercises.

And the materials are yours to keep for your own personal use.

Available courses, more information...

 
 
Onsite Training
Bryan Meyers onsite training
Expert iSeries training comes to you!

Bryan presents the classes live at your location, using your training/conference facilities.

Your employees benefit from face-to-face instructor interaction, and come away ready to instantly put their training to work for you.

Available classes, more information...

 
 
E-Learning
Live E-learning Classes
Live seminars that you can attend from your office or home.

Bryan presents these seminars in realtime, with specific schedules. So you get instructor interaction without the need to travel.

Class schedules, more information...
 
 
 
Hosted by
Lunarpages.com Web Hosting
 
enskill.com iSeries Training Onsite classes
DVD training
Books
Online e-Learning
Home
Resources
Contact
(c)2002-2008
Self-paced DVD Training
DVD: RPG IV for RPG Programmers
DVD: RPG IV Modules, Procedures, and Service Programs
 
In association with Amazon.com
Programming in RPG IV
RPG IV Jump Start
Power Tips for RPG IV
Control Language Programming for the AS/400
VisualAge for RPG by Example
 
International visitors: click hereInternational visitors:
Click here!