|
Not as a standalone field, but you can get it through the PSDS - positions
244 to 253 (the job name - which for interactive jobs is the workstation
name).
D SDS
D Namjob 244 253
Francis Lapeyre
IS Dept. Programmer/Analyst
Stewart Enterprises, Inc.
E-mail: flapeyre@xxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Grizzly M
Sent: Thursday, December 15, 2005 2:10 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Initialize field with workstation value
Can anyone tell me if it is possible to initialize a field in a D spec with
the value of the workstation? I wonder if there is something similar to
initializing a field to the user.
For example:
D UserName S 10A Inz(*USER)
I know I can get it from the system data structure but I thought maybe there
would be something like the previous example.
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.