Skip to content

Code400

YOUR EXTENDED TEAM

Menu

  • Home
  • Code400 Forums
  • Blog
  • Jobs
    • Post a Job
  • Contact Us

API

You are here: Code400 > Blog > API

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

Jamie March 17, 2020 API, RPGLE, SQL No Comments 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

Jamie January 24, 2020February 25, 2020 API, RPGLE No Comments Read more

Encrypting Data

Encrypting Data

Encrypting data using system API Required Parameter list for Qc3EncryptData Required Parameter Group: 1 Clear data Input Char(*) 2 Length of clear data Input Binary(4) 3 Clear data format name Input Char(8) 4 Algorithm description Input Char(*) 5 Algorithm description

Jamie December 2, 2018March 19, 2020 API, RPGLE No Comments Read more

Using QWCRSVAL to change password (QSYCHGPW)

Using QWCRSVAL to change password (QSYCHGPW)

The Retrieve System Values ​​(QWCRSVAL) API lets you retrieve system values. This is for example use only — We do not recommend use of this program to bypass enterprise security policies. In this example system values that are associated with

Jamie December 2, 2018 API, RPGLE No Comments Read more

Working examples of API’s

Working examples of API’s

The term Application Programming Interface (API) can be applied in many instances. By definition, an API is an application-supplied program or procedure that allows an application program, which is written in a high-level language, to access specific data or functions

Jamie December 2, 2018 API, RPGLE, SQL 1 Comment Read more

DATAQ

DATAQ

Data queues are a type of system object (type *DTAQ) that you can create and maintain using OS/400 commands and APIs. They provide a means of fast asynchronous communication between two jobs, or within the same job, because they use

Jamie December 1, 2018 API, data queue, RPGLE No Comments Read more

STRTOK – reading single field/ multiple values by delimiter

STRTOK – reading single field/ multiple values by delimiter

C provides a number of string functions that can be useful to an RPG programmer. The example we have chosen to illustrate is strtok. This function can be used to break up a string into a series of “tokens”. One

Jamie December 1, 2018 API No Comments Read more

Working with Data Areas

Working with Data Areas

A data area can be used whenever you need to store information of limited size, independent of the existence of procedures or files. Typical uses of data areas are: To provide an area (perhaps within each job’s QTEMP library) to

Jamie December 1, 2018 API, DataArea, RPGLE No 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

Recent Comments

  • Jamie on Get IP Address
  • Bert de Vries on Get date in multiple formats
  • The new Code400 for RPG Developers on Working examples of API’s
  • The new Code400 for RPG Developers on Refresh IBM i test partition
  • The new Code400 for RPG Developers on Using SQL to retrieve system information

Archives

  • March 2020
  • January 2020
  • September 2019
  • August 2019
  • March 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2017
  • March 2014
  • February 2014

Categories

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

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Contact Info

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

Recent Posts

  • Regular Expressions

    Regular Expressions

    March 20, 2020
  • Get IP Address

    Get IP Address

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

    Check IFS/Server for a document

    March 19, 2020
  • SYSTEM – API CMD Processor

    SYSTEM – API CMD Processor

    January 24, 2020
  • Caller – The Detail(s)

    Caller – The Detail(s)

    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
  • i Pro Developer
  • RPG Tools

More Free Themes

  • Cenote
  • FoodHunt
  • Flash
  • eStore
  • Accelerate
  • Envince
  • Suffice
  • FitClub
  • Accelerate
  • FitClub
  • Ample
  • Esteem
Copyright © 2021 Code400. Powered by WordPress and Programmers.io. Theme: Spacious by ThemeGrill.
  • Contact Us
  • My Account
  • Code400.com