Skip to content

Code400

YOUR EXTENDED TEAM

Menu

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

Procedure

You are here: Code400 > Blog > Procedure

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

Jamie March 20, 2020March 20, 2020 Procedure, RPGLE, SQL 2 Comments 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

Jamie March 19, 2020 FTP, Procedure, RPGLE No Comments 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

Jamie January 24, 2020February 25, 2020 Procedure, RPGLE, SQL No Comments 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,

Jamie August 6, 2019March 17, 2020 Procedure, RPGLE, SQL, XA (MAPICS) No Comments 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

Jamie March 13, 2019 Procedure, RPGLE, SQL, Table (DDS), Uncategorized, XA (MAPICS) No Comments 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

Jamie December 19, 2018 Procedure, RPGLE, System-Link, XA (MAPICS) No Comments 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

Jamie December 17, 2018 Dates, Procedure, RPGLE, SQL 2 Comments Read more

Recent Posts

  • 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
  • Get IP Address

    Get IP Address

    March 20, 2020
    This procedure was written to retrieve the IP address of a device.  This can be …Read more
  • Check IFS/Server for a document

    Check IFS/Server for a document

    March 19, 2020
    This procedure was written to check for the existence of a table on either the …Read more

Archives

  • 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

  • Regular Expressions

    Regular Expressions

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

    Check IFS/Server for a document

    March 19, 2020
  • SQL Vs. QUSRJOBI (Retrieving Library List)

    SQL Vs. QUSRJOBI (Retrieving Library List)

    March 17, 2020
  • SYSTEM – API CMD Processor

    SYSTEM – API CMD Processor

    January 24, 2020

IBM i 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 © 2023 Code400. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.
  • Contact Us
  • Code400.com