Skip to content

Code400

YOUR EXTENDED TEAM

Menu

  • Home
  • Code400 Forums
  • Webinars
  • Blog
  • Jobs
  • Contact Us

RPGLE

You are here: Code400 > Blog > RPGLE

Get IP Address

Get IP Address

This procedure was written to retrieve the IP address of a device.  This can be used to identify a specific device.  For example if you have an application that in a manufacturing environment that is assigned to a facility (work

PIO March 20, 2020January 16, 2024 Procedure, RPGLE, SQL Read more

Check IFS/Server for a document

Check IFS/Server for a document

This procedure was written to check for the existence of a table on either the IFS or a network server. Using the c function Access for the IFS and for the network FTPing to the server and attempting a rename to

PIO March 19, 2020January 16, 2024 FTP, Procedure, RPGLE Read more

SQL Vs. QUSRJOBI (Retrieving Library List)

SQL Vs. QUSRJOBI (Retrieving Library List)

Using QUSRJOBI to retrieve Library list vs SQL. We will be adding additional examples of how SQL is taking over, where once only API’s could do the work. Simplifying code and helping to build a stronger developer, with the tools

PIO March 17, 2020January 16, 2024 API, RPGLE, SQL Read more

SYSTEM – API CMD Processor

SYSTEM – API CMD Processor

system() is a runtime C library function that performs the same purpose as the QCMDEXC API. With system() you pass a pointer to the command string and it is executed, no need for the for the command string length.  The API is a good

PIO January 24, 2020January 16, 2024 API, RPGLE Read more

Caller – The Detail(s)

Caller – The Detail(s)

Caller_CP – This procedure returns the name of the previous program.  If called from command line would be – RETURNPROGRAM = ‘QUOMAIN ‘ Use this process of a copy book containing the PR statement and in some cases a shareable

PIO January 24, 2020January 16, 2024 Procedure, RPGLE, SQL Read more

XA (MAPICS) SQL to pull 10 levels BOM

XA (MAPICS) SQL to pull 10 levels BOM

I needed a quick way to pull Bill of Materials (BOM) for a group of finished goods to help calculate turns of raw material. I borrowed this from WIKI A bill of materials or product structure (sometimes bill of material,

PIO August 6, 2019January 16, 2024 Procedure, RPGLE, SQL, XA (MAPICS) Read more

XA (MAPICS) Facility Time Entry

XA (MAPICS) Facility Time Entry

Standard labor entry screens provided by XA may be a bit of a challenge to deploy onto the shop floor. They also lack the ability to transact data to MOTRAN in near real time. What we saw happening is that

PIO March 13, 2019January 16, 2024 Procedure, RPGLE, SQL, Table (DDS), Uncategorized, XA (MAPICS) Read more

Refresh IBM i test partition

Refresh IBM i test partition

To start we are running bot a production (MM) & test (TT) environment of XA (MAPICS). We have separated the environments by logical partition on the IBM i. Looking for a way to keep “we” developers out of production, we

PIO January 7, 2019January 16, 2024 Enterprise Backups, icluster, RPGLE, XA (MAPICS) Read more

Updating Planning Date XA (MAPICS)

Updating Planning Date XA (MAPICS)

Short example on how to use system-link to update XA (MAPICS) table. This example includes some procedures. System_Link Users Guide the below snippet runs out of the job scheduler. ** Binding directory – “UTLITIES” 2 procedures GETDATE & UPDDAT System-Link

PIO December 19, 2018January 16, 2024 Procedure, RPGLE, System-Link, XA (MAPICS) Read more

Get date in multiple formats

Get date in multiple formats

Procedures — Initial guide to creating them in RPGLE Download the source: getdate getdate_cp getdatetst   In this example we will provide an example of how to get  date values in a multitude of formats. You may pass it a

PIO December 17, 2018January 16, 2024 Dates, Procedure, RPGLE, SQL Read more
  • « Previous

Recent Posts

  • 6 Reasons to Keep Your Printing Operations On-Premises: A Focus on RPG, IBMi, and AS400 Technology for B2B Services

    6 Reasons to Keep Your Printing Operations On-Premises: A Focus on RPG, IBMi, and AS400 Technology for B2B Services

    June 20, 2024
    In the age of cloud computing and Software as a Service (SaaS), many businesses are …Read more
  • The Best Tools For Prospecting And Successfully Landing B2B Sales

    The Best Tools For Prospecting And Successfully Landing B2B Sales

    January 20, 2023
    When it comes to landing a lucrative B2B sales opportunity, you need all the help …Read more
  • Regular Expressions

    Regular Expressions

    March 20, 2020
    A regular expression is similar to a rule which defines the characters that can appear in an …Read more

Archives

  • June 2024 (1)
  • January 2023 (1)
  • March 2020 (4)
  • January 2020 (2)
  • September 2019 (1)
  • August 2019 (1)
  • March 2019 (1)
  • January 2019 (2)
  • December 2018 (11)
  • November 2018 (1)
  • October 2017 (1)
  • March 2014 (3)
  • February 2014 (1)

Categories

  • API
  • data queue
  • DataArea
  • Dates
  • Enterprise Backups
  • FTP
  • General
  • icluster
  • IFS
  • Procedure
  • RPGLE
  • SQL
  • System-Link
  • Table (DDS)
  • Uncategorized
  • XA (MAPICS)
  • XML

Contact Info

  • Programmers.io
  • Address: 8951 Cypress Waters Blvd STE 160
  • Dallas, TX 75019-4784 USA
  • Email: info@programmers.io
  • Phone: 1-800-600-5822

Recent Posts

  • 6 Reasons to Keep Your Printing Operations On-Premises: A Focus on RPG, IBMi, and AS400 Technology for B2B Services

    6 Reasons to Keep Your Printing Operations On-Premises: A Focus on RPG, IBMi, and AS400 Technology for B2B Services

    June 20, 2024
  • The Best Tools For Prospecting And Successfully Landing B2B Sales

    The Best Tools For Prospecting And Successfully Landing B2B Sales

    January 20, 2023
  • Regular Expressions

    Regular Expressions

    March 20, 2020
  • Check IFS/Server for a document

    Check IFS/Server for a document

    March 19, 2020

IBMi Sites

  • IBM i on Power Systems
  • Scott Klement’s Site
  • Jon Paris & Susan Gantner’s Site
  • IT Jungle
  • IBM Systems Magazine
  • Simon Hutchinson’s Site
  • Easy400.net
  • Craig Rutledge’s Site
  • Leif Guldbrand’s Site
  • Nick Litten’s Site
Copyright © 2025 Code400. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.
  • Contact Us
  • Code400.com