Posts

Showing posts from May, 2021

Extract Dynamic file name from file path in RPLGE - IBM I / AS400

Image
 Extract Dynamic file name from file path:- **Free                                                                                                                                  // Variable  declarations                                                                                                              Dcl-s FilePath Varchar(30);            ...

Difference between %Scan and %Check in RPGLE - IBM I / As400

Image
Difference between %Scan and %Check in RPGLE - IBM I / As400 **Free                                                                                                                                   * Variable Declarations                                                                                                                                ...

Date Filter in Angular

Image
DateFilter in Angular:- <html>     <head>         <title>Date Formats in Angular</title>         <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js"></script>     </head>     <body>         <div ng-app="" style="font-size: larger; color: darkblue;">             <h1 align="center">Changing Date Format using Angular Date Filter</h1>             <input type="date" ng-model="MyDate">             <br><br>             <span>Short Date Format (M/d/yy):</span><br> {{MyDate | date : 'shortDate'}}             <br><br>             <span>Medium Date Format (MMM d, y):</span><b...

Dynamic XMl file creation in IFS using RPGLE Program - IBMI / AS400

Image
How to create a dynamic XML file in IFS using RPGLE:-  **Free                                                                       *    Generate dynamic XML with RPGL                                                                                                          Ctl-opt DftActGrp(*no) ActGrp(*new);                                                                ...

File creation in IFS using RPGLE Program - IBMi / AS400

Image
How to create a file in IFS using RPGLE program:- **Free                                                                   *    Program to write data in IFS                                                                                Ctl-opt DftActGrp(*no) ActGrp(*new);                                                                                         *    Procedure for o...

Alphanumeric / Character Data type in RPGLE Free Format - IBM i / AS400

Image
How to declare character data type in RPGLE free format:- **Free                                                                                                                                    *            Conversation of Alphanumeric data type in free format                                                                         *    D FirstName       S             30A  ...

Numeric Data type in RPGLE free format - IBM i / AS400

Image
How to declare numeric data type in RPGLE free format:-  **Free                                                                    *                   Numeric data type  Converstion in free format                                                                ...

Scan & Replace - %scanrpl - Built-in function in IBM i / AS400

Image
 Source Code for %scanrpl Built-in Function:- **Free                                                                                                                            // Variable Declaration                                                                                                DCL-S String Varchar(50) INZ;                                ...

Compile Time Data Array in RPGLE - IBM i / AS400

Image
 Source Code For Compile Time Data Array:- **Free                                                                                                                        // Compile Time Array Declaration                                                                                               DCL-S Days   Varchar(3) Dim(6) perrcd(3) ctdata;                         ...

ILE Concepts in IBM i / AS400

Image
 Module 1: Source code for addition procedure **Free                                                                //Procedure Declaration                                             Dcl-Proc Addition EXPORT;                Dcl-PI Addition Zoned(4);               Number1 Zoned(2);                     Number2 Zoned(2);                   End-PI;                               Dcl-S Result Zoned(4);             ...

ILE Concepts in IBM i / AS400

Image
 Module1: Source code for addition procedure:-  **Free                                                                   //Procedure Declaration                                              Dcl-Proc Addition EXPORT;                Dcl-PI Addition Zoned(4);               Number1 Zoned(2);                     Number2 Zoned(2);                   End-PI;                               Dcl-S Result Zoned(4);          ...

Filters in angular ( lowercase / uppercase )

Image
Source code for uppercase/lowercase filters in angular. <html>     <head>         <title>Angular Directives</title>         <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.8.2/angular.min.js"></script>     </head>     <body>         <div ng-app="">             <h1 align="center">Uppercase / Loweecase Angular Filters!</h1>             <span>Enter String : <input type="text" ng-model="String"></span>             <br>             <span>Lowecase String : {{String | lowercase}}</span>             <br>             <span>Upercase String : {{String | uppercase}}</span>         ...