GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - liwj1020/CF_API: Carsten Flensburg's API's with build scripts ready for OSSILE

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
cbx900
cbx900
 
 
cbx901
cbx901
 
 
cbx902
cbx902
 
 
cbx904
cbx904
 
 
cbx905
cbx905
 
 
cbx906
cbx906
 
 
cbx907
cbx907
 
 
cbx908
cbx908
 
 
cbx909
cbx909
 
 
cbx910
cbx910
 
 
cbx911
cbx911
 
 
cbx912
cbx912
 
 
cbx913
cbx913
 
 
cbx914
cbx914
 
 
cbx915
cbx915
 
 
cbx916
cbx916
 
 
cbx917
cbx917
 
 
cbx918
cbx918
 
 
cbx919
cbx919
 
 
cbx920
cbx920
 
 
cbx921
cbx921
 
 
cbx922
cbx922
 
 
cbx923
cbx923
 
 
cbx924
cbx924
 
 
cbx925
cbx925
 
 
cbx9261
cbx9261
 
 
cbx9262
cbx9262
 
 
cbx9263
cbx9263
 
 
cbx927
cbx927
 
 
cbx9281
cbx9281
 
 
cbx9282
cbx9282
 
 
cbx929
cbx929
 
 
cbx930
cbx930
 
 
cbx931
cbx931
 
 
cbx932
cbx932
 
 
cbx933
cbx933
 
 
cbx934
cbx934
 
 
cbx935
cbx935
 
 
cbx936
cbx936
 
 
cbx937
cbx937
 
 
cbx938
cbx938
 
 
cbx939
cbx939
 
 
cbx940
cbx940
 
 
cbx9411
cbx9411
 
 
cbx9412
cbx9412
 
 
cbx9413
cbx9413
 
 
cbx9421
cbx9421
 
 
cbx9422
cbx9422
 
 
cbx943
cbx943
 
 
cbx944
cbx944
 
 
cbx945
cbx945
 
 
cbx946
cbx946
 
 
cbx947
cbx947
 
 
cbx948
cbx948
 
 
cbx949
cbx949
 
 
cbx950
cbx950
 
 
cbx951
cbx951
 
 
cbx952
cbx952
 
 
cbx953
cbx953
 
 
cbx954
cbx954
 
 
cbx955
cbx955
 
 
cbx956
cbx956
 
 
cbx9562
cbx9562
 
 
cbx9563
cbx9563
 
 
cbx957
cbx957
 
 
cbx958
cbx958
 
 
cbx959
cbx959
 
 
cbx960
cbx960
 
 
cbx961
cbx961
 
 
cbx962
cbx962
 
 
cbx963
cbx963
 
 
cbx964
cbx964
 
 
cbx965
cbx965
 
 
cbx966
cbx966
 
 
cbx967
cbx967
 
 
cbx968
cbx968
 
 
cbx969
cbx969
 
 
cbx970
cbx970
 
 
cbx971
cbx971
 
 
cbx972
cbx972
 
 
cbx973
cbx973
 
 
cbx974
cbx974
 
 
cbx975
cbx975
 
 
cbx976
cbx976
 
 
cbx977
cbx977
 
 
cbx978
cbx978
 
 
cbx979
cbx979
 
 
cbx980
cbx980
 
 
cbx9811
cbx9811
 
 
cbx9812
cbx9812
 
 
cbx9813
cbx9813
 
 
cbx982
cbx982
 
 
cbx983
cbx983
 
 
cbx984
cbx984
 
 
cbx9841
cbx9841
 
 
cbx9842
cbx9842
 
 
cbx9843
cbx9843
 
 
cbx985
cbx985
 
 
cbx986
cbx986
 
 
cbx987
cbx987
 
 

Repository files navigation

##Synopsis A number of sample programs supplied by Carsten Flensburg which demonstrate how to use various API's. These are all code samples originally posted to iProdeveloper as part of the Using API's articles. Some of the samples are a collection of commands and programs which require a special build file for them to be created, the setup script will call the cbx---m.clp if found in the directory.

##Purpose Provide a number of code examples which can be used as utilities on IBM i. The code demonstrates the use of a number of API's.

Utilities

  • 100 - Sample of QDBRTVFD
  • ... - More utilities/samples
  • 900 - Job Notification Exit Program
  • 901 - Password Validation exit program
  • 902 - Receive journal entry exit program
  • 904 - Retrieve the number of physical devices that a given privileged user profile - user class greater than *USER - is signed on to.
  • 905 - Retrieve identity of last spooled file created (QSPRILSP) API
  • 906 - Materialize Machine Attributes
  • 907 - Process and print QHST log performance entries
  • 908 - Demonstrate adopted authority propagation blocking
  • 909 - Process spooled file creation data queue entries (multiple programs)
  • 910 - Process data queue entries from output queue
  • 911 - VALCCSID Validate CCSID
  • 912 - Delete journal receiver exit program with test programs
  • 913 - Critical ASP usage % exit program
  • 914 - DSPPTFINF Display PTF Information
  • 915 - RNMHDWRSC Rename Hardware Resource
  • 916 - DSPCCSID Display Language Default CCSID
  • 917 - PRTSVRAUTE Print Server Authority Entries
  • 918 - A collection of programs to Retrieve and set Encrypted User Password. Note: pass second parameter '*CALLER' for service program build.
  • 919 - RMVARPTBLE Remove ARP Table Entry
  • 920 - PRCFILLCK Process File Locks
  • 921 - Break Message Handling Program
  • 922 - PRCRCDLCK Process Record Lock
  • 923 - CHGUSRSTS Change User Status
  • 924 - DSPSFWINV Display Software Inventory
  • 925 - Sample programs showing how to process journal entries using RCVJRNE
  • 927 - DSPATR Display Attributes
  • 929 - RTVUSRSPCA Retrieve User Special Authority
  • 930 - PRTPGMADPS Print Programs which adopt special Authorities.
  • 931 - CHGOBJAUT Change Object Authority
  • 932 - PRTSAVINF Print Save Information
  • 933 - SJLIB Start Journaling for object in a library. Note: STRJRNLIB is now IBM command so rename required.
  • 934 - EJLIB End Journaling for objects in a library. Note: ENDJRNLIB is now IBM command so rename required.
  • 935 - RUNJOBCMD Run job Command
  • 936 - ANZUSRPRF Analyse User Profiles
  • 937 - PRTPTFLVL Print PTF Cum Level
  • 938 - PRTJRNRCV Print Journal Receiver Information
  • 939 - RTVSYSDTA Retrieve System Data
  • 940 - CHKCRPSPT Check cryptographic support
  • 943 - PRTJRNRPT Print Journal Report. Note: cbx943.clp submits itself as a job, when its run its calls cbx9432.rpgle
  • 944 - PRCOBJLCK Process Object Locks
  • 945 - CHGPRFEXIT Change Profile Exit Program
  • 946 - Enhanced System Request Menu. NOTE: CBX946S service program needs setup script to be called with additional parm 'QSRVPGM'
  • 947 - CHKPTFSTS Check PTF Status
  • 948 - ANZPRFUSG Analyze User Profile Usage
  • 949 - PRTREGEXIT Print Registered Exit Programs
  • 950 - DSPJOBIFSL Display Job IFS Locks
  • 951 - ADDPRNSEED Add Pseudo Random Number Seed
  • 952 - PRTJOBRUNA Print Job Run Attributes
  • 953 - ADDGRPPRF Add Group Profile
  • 954 - RMVGRPPRF Remove Group Profile
  • 955 - SCAN Scan string
  • 956 - PRTUSRAUTL Print User Authorization list
  • 957 - CHGNETUSR Change Netserver Users
  • 958 - WRKNETUSR Work with Netserver Users
  • 959 - RMVJRNRCV Remove Journal Receivers
  • 960 - ADDSVRSHR Add Server Share
  • 961 - RMVSVRSHR Remove Server Share
  • 962 - CHGSVRSHR Change Server Share
  • 963 - DSPSVRSHR Display Server Shares
  • 964 - WRKSVRSHR Work Server Shares
  • 965 - DSPUSRJOB Display User Job
  • 966 - DSPSBSACT Display Subsystem Activity
  • 967 - DSDSBSJOBQ Display Subsystem Job Queues
  • 968 - DSPJOBQJOB Display Job Queue Jobs
  • 969 - WRKJOB2 Work with Job
  • 970 - WRKJRN2 Work with journals
  • 971 - WRKOUTQAUT Work with Out Queue Authority
  • 972 - WRKPRFSECA Work with Profile Security Attributes
  • 973 - SETDFTJRN Set Default journal
  • 974 - WRKDFTJRN Work with Default Journal
  • 975 - RUNJOBCMD Run Job Command setup and programs
  • 976 - RTVJOBITPS,CHGJOBITPS Retrieve/Change Job Interrupt Status
  • 977 - WRKJOBS Work with Jobs
  • 978 - RTVCMDINF Retrieve Command Information
  • 979 - Query Govenor Exit program. Note: Requires CBX980 Service Program.
  • 980 - CBX980 Service program used in xxxUSRQRYA command processing programs.
  • 982 - Work with User Query Attributes. Note: requires Service Program CBX980 to be built.
  • 983 - SETUSRQRYA Set User Query Attributes. Note: menu CMDUSRQRYA requires additional utilities to be built.
  • 984 - UIM Menu CMDSFWAGR. Note: Requires CHKSFWAGR,ACPSFWAGR and ALCLICSPC commands to be built.
  • 985 - RMVPNDJOBL Remove Pending Job Log
  • 986 - WRKSVRSSN Work with Server Session
  • 987 - ENDSVRSSN End Server Session
  • 988 - PRTPWDAUD Print Password Audit Report
  • 989 - RTVQRYA Retrieve Query Attributes
  • 990 - UPDUSRAUD Update User Auditing
  • 991 - ADDUSRAUD,RMVUSRAUD Add/Remove User Auditing
  • 993 - SETQRYPRFO Set Query Profile Options
  • 994 - WRKQRYPRFO Work with Query Profile Opts
  • 998 - WRKSBSE Work with Subsystem Entries
  • 999 - WRKRMTOUTQ Work with Remote OUTQ's
  • 9261 - Check IFS lock then open, read and close the file
  • 9262 - Program to Check IFS Lock
  • 9263 - Various IFS test and processing programs
  • 9281 - RTVSPCAUT Retrieve User Special Authority
  • 9282 - CHKSPCAUT Check User Special Authority
  • 9411 - RTVDIRSMTP Retrieve Directory Entry SMTP Address
  • 9412 - DSPDIRSMTP Display Directory Entry SMTP Address
  • 9413 - Break message handler, send message to email.
  • 9421 - RTVDEVIP Retrieve Device IP
  • 9422 - DSPDEVIP Display Device IP
  • 9562 - Display User Objects
  • 9563 - DSPIDXECNT Display Index Entry Count
  • 9811 - ADDUSRQRYA Add User Query Attributes
  • 9812 - CHGUSRQRYA Change User Query Attributes
  • 9813 - RMVUSRQRYA Remove User Query Attributes
  • 9841 - CHKSFWAGR Check Software Agreement
  • 9842 - ACPSFWAGR Accept Software Agreement
  • 9843 - ALCLICSPC Allocate License Space
  • 9951 - WRKRTGE Work with Routing Entries
  • 9952 - WRKJOBQE Work job Queue Entries
  • 9953 - WRKJOBQJOB Work with Job Queue jobs
  • 9961 - WRKPJE Work with Prestart Job Entries
  • 9962 - WRKAJE Work with Autostart job Entries
  • 9963 - SBMJOBDJOB Submit Job Description Job
  • 9971 - WRKCMNE Work with Communication Entries
  • 9972 - WRKWSE Work with Workstation Entries
  • 9973 - Work with Workstation entries.
  • 99A - Query Governor Exit Program Setup

##Build run the shell script setup in QP2TERM ./cf_api/setup 'api_Number(see above)'. Note: Some of the utilities require additional utilities to be built to run correctly.

##Documentation See IBM Knowledge Center for details of the API's used. See Carsten's Blog for a history of the API collection

Important Notes

  • The code should compile using the setup script provided but is based on a naming convention which could be compromised.
  • The content has been slimmed down in some cases where the same program is provided in multiple versions.
  • Support of the code contained in the samples is not provided by the contributors, you can raise an issue via the github repository requesting help.
  • The code has been built over a number of years and may need some adjustment to run on the later OS levels. It is supplied as is with no guarantee to work.
  • All of the source in its original state is available from Carsten's website.

##Contributors

  • Original code by Carsten Flensburg. Website
  • updates and formatting for OSSILE Chris Hird. Website

##Copyright Copyright (c) OSSILE 2016 Made available under the terms of the license of the containing project

About

Carsten Flensburg's API's with build scripts ready for OSSILE

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

3 watching

Forks

6 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.