JBA Commands

May 15, 2013

Randomly surfing around this morning – I stumbled across this comment tucked away in some obscure pre-1990’s forum in glorious Times New Roman font. Written back in the days when terminals clunked, mainframes were the size of a room, men were men and women were pleased. I bring you the big list of JBA COMMANDS accessible hidden behind the menus of System/21:

Disclaimer – I’m not responsible for any damage caused by anything you do to your system and you should take a stiff slug of beer before using these commands at your own risk… That being said, *GLUG, let’s continue…

If you have them installed on your system you should see a list like this one:

TOOLS/UTILITIES – Run command TOOLS from any command line in System 21

XAT000 Administration Functions System: HQ140002
Type option(s), press Enter. Position to…..
1=Execute Command
Opt Command Description

  • ADDDSPFRID Add Display File Reference ID
  • CLNUSRALC Tidy User Allocations
  • CRTHLPPTR Create Application Help Text Pointers
  • DGNRPGSRC Label Do Levels In RPG Source
  • DLTDEP Delete File Dependencies
  • DLTOBJ Delete Object
  • DSPCTLDTA Display Application Control Data
  • DSPDEP Display File Dependencies
  • DSPDTAQ Display Data Queue
  • DSPFLD Display File Field List
  • DSPKEY Display File Key And Select/Omit Details
  • DSPLIBDEP Display Library Dependencies
  • DSPLIBSIZ Display Library Size
  • DSPMBRSIZ Display File Member Sizes
  • EXTDSPFRID Extract Display File Reference ID
  • FINISH Clean Sign Off
  • GENERIC Generic Command Facility
  • GETGDA Get Group Data Area From Stack
  • GETLDA Get Local Data Area From Stack
  • GETLIBL Get Library List From Stack
  • LSTRPG Print List Of RPG Source Member
  • LSTSRC Print List Of Any Source Member
  • MNTIPGLIBL Maintain IPG Product Library Lists
  • MOVSRCMBR Move Source Member
  • PRTDBR Print Database Relations
  • PRTDUPMBRN Print Duplicate Member Names For Two Files
  • PRTDUPOBJN Print Duplicate Object Names For Two Libraries
  • PRTFLD Print File Field List
  • PRTLIB Print Sequenced Library List
  • PRTPGMREF Print Program References
  • PUTGDA Put Group Data Area Onto Stack
  • PUTLDA Put Local Data Area Onto Stack
  • PUTLIBL Put Library List Onto Stack
  • RGZDTALIB Reorganize Data Base Files In Library
  • RMVDSPFRID Remove Display File Reference ID
  • SCNSRCF Scan Source File
  • SELMSG Select Message File Messages
  • WRKLDA Work With Local Data Area (JBA Layout)

You can also try the WRKCMD command specifying the OSLSYS/*ALL option… This produces a much longer list…

There may also be some commands found in IPGAMF4/*ALL and IPGCFF4/*ALL that are not in OSLSYS… It really depends on whether the person who installed JBA on your system issued the command to copy those tasks into OSLSYS or not…

Good old JBA.


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits. Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day. Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Start your
7-day free trial

Take This Course with ALL ACCESS

Unlock your Learning Potential with instant access to every course and all new courses as they are released.
 [ For Serious Software Developers only ]

IBM i Training For Technology Experts


Successfully Work Remote 

 $ 129.00  $59.00

By adding new skills in information technology, employers will be confident that you have the necessary skills and tools needed to successfully work remotely


Snug CBD

 20% Discount

I have partnered with SNUG CBD givING you Organic CBD
20% discount code "NL20"