Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am on an AS400 system, so when I have to get a data report from AS400 I just login into my user account and select the relevant report for example.

1. Daily Sales Report

Then hit enter and the query shall run , and I will transfer data from iseries, adding the library then select the query file and export into excel.
Now if I have no access to the specific user logon is there any command where I will just enter the query name and library from other user so that I will be able to run the same query as the user has. In my case the lib is paydata and the query name is dsreport.

What I have tried:

I have no access to the specific user logon is there any command where I will just enter the query name and library from other user
Posted
Updated 31-Jan-24 5:43am
v2

This is not an IBM support forum, and this question has nothing to do with software development.

I'd suggest you try a AS400 site, or IBM Support[^]

But ... I'd say it's unlikely you will be able to do what you want to: security policies generally mean that User A can't access User B information or data, and vice versa.
 
Share this answer
 
Comments
PIEBALDconsult 31-Jan-24 11:45am    
With a name like that it could be a spam set-up or test.
Job247Online 31-Jan-24 12:29pm    
yes , but i have gained admin previlage access some how.
Query has four commands, which can be entered from any command line:
v STRQRY brings up the Query menu.
v WRKQRY brings up the Work with Queries display.
v Run Query (RUNQRY) runs an existing query, or you can use it to run a default query. This command
can also be embedded in CL programs so that you could, for example, run several queries overnight.
 
Share this answer
 
v2
Comments
PIEBALDconsult 31-Jan-24 13:38pm    
Please don't try to answer your own question. Use the Improve question button to add detail and context.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900