Skip to Main Content
IBM Z Software
Hide about this portal


This portal is to open public enhancement requests against IBM Z Software products. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Workspace PL/I Compilers
Created by Guest
Created on May 15, 2015

built-in function to return jobname, userid, etc

See this idea on ideas.ibm.com

Provide a built-in function / subroutine (PLIZOS ?) returning system dependent information like JOBNAME, MAINPGMNAME, ? - in analogy with FILEDDWORD.

Idea priority Medium
  • Guest
    Reply
    |
    Jan 31, 2017

    Delivered as part of APAR PI75582 / PTF UI44364

    This also requires the appropriate PTF for library APAR PI73864

    The new built-in function is called GETSYSWORD. Currently it retrieves only JOBNAME and STEPNAME.

    If more values are wanted, RFEs should be opened to request them (and it would be better to have only one or a few words requested in any single RFE - otherwise we might not do it all because the list would be to big)

  • Guest
    Reply
    |
    May 9, 2016

    A Builtin which Returns the Main-Program would be very very helpfull to determin which programs call me.

  • Guest
    Reply
    |
    May 9, 2016

    Providing such a builtin would be of great help. I do not know how many "own" implementations of these functionalities exist in our company.

  • Guest
    Reply
    |
    May 6, 2016

    Be aware of RFE 77646 (Builtin function returning the main program Name) Planned for Future Release.

  • Guest
    Reply
    |
    Dec 11, 2015

    Please, when this is implemented include the ability to retrieve any field (job number, job name, job class, job accounting info, message class, step name, proc name, dataset names/DCB attributes, user ID, etc., available through the PSA and chained from the PSA (TCB, TIOT, JFCB, etc.) as is currently more easily available via Assembler. It can be done in PL/I manually, but it is a lot of code, why should all developers have to do this on their own?

    This would be wonderful to be able to retrieve this data via a built-in PL/I function instead of having to ask for an Assembler programmer to write a program for each field as the need develops.

  • Guest
    Reply
    |
    Oct 16, 2015

    I did not found a solution for the Main Program Name.
    There is an LE Tracebackroutine but it uses alot of CPU and what is then the main ? It's the first userroutine (not from IBM (IMS/...)) in the calling chain. Maybe the Program that opened a new LE enclave ?

  • Guest
    Reply
    |
    Oct 16, 2015

    I just made an own infomodule (PL/I and Assembler) and for the USERID i have three different sources.

    BATCH: Owner
    IMS: Userid by AIBTDLI call
    CICS: Userid by EXEC CICS call

    Some other info's may be also nice to have:
    -DB2ID
    -IMSID
    -CICSID
    -JOBID (jes)
    -Transaction Name (IMS and CICS)

    and maybe systemid (LPAR).

  • Guest
    Reply
    |
    Sep 14, 2015

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Programming Languages
    Product - PL/I Compilers

    For recording keeping, the previous attributes were:
    Brand - Rational
    Product family - Design & development
    Product - PL/I Compilers

  • Guest
    Reply
    |
    May 19, 2015

    this will be useful to many users

  • Guest
    Reply
    |
    May 15, 2015

    UserID = PLIZOS(‘USERID');
    for returning current RACF user would be also very helpful.