Session_USER gives the user profile name, so I just need some way of retrieving job name to stamp on the record update stamp now.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jeff Young
Sent: 05 April 2012 14:45
To: Midrange Systems Technical Discussion
Subject: Re: Jobname from a an SPL procedure?

UDF to call a CLP to use RTVJOBA and return the data?



On Thu, Apr 5, 2012 at 4:04 AM, Dunk, Michael - Bognor <mdunk@xxxxxxxxx>wrote:


As an infrequent user of SPL, writing a data fix, I figured out how to
set date and time stamps in CYYMMDD and HHMMSS format but also need a
simple way to get the job name and user profile from within the SQL
procedure to complete the data to include a standard record update stamp.

E.g. is there an elegant way of accessing Retrieve Job Attributes
(RTVJOBA) from within SPL?

Best regards,

Mike



----------------------------------------------------------------------
--------------------------------------
John Wiley & Sons Limited is a private limited company registered in
England with registered number 641132.
Registered office address: The Atrium, Southern Gate, Chichester, West
Sussex, United Kingdom. PO19 8SQ.

----------------------------------------------------------------------
--------------------------------------
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take
a moment to review the archives at
http://archive.midrange.com/midrange-l.




--
Jeff Young
Sr. Programmer Analyst
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


------------------------------------------------------------------------------------------------------------
John Wiley & Sons Limited is a private limited company registered in England with registered number 641132.
Registered office address: The Atrium, Southern Gate, Chichester, West Sussex, United Kingdom. PO19 8SQ.
------------------------------------------------------------------------------------------------------------


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].