Writing the output of qshell(qsh) command to local data area

435 pts.
Tags:
CLLE
I want to write the output of a qshell command to local data area so that it could be globally used by programs. Is there some way to write from stdout file to local data area I want it to be done through CL. It's urgent. Thanks!

Software/Hardware used:
as400

Answer Wiki

Thanks. We'll let you know when a new response is added.

Qshell *DTAARA support is generally through the datarea – Read or write data area – utility.

Your question is a little contradictory though…

I want it to be done through CL..its urgent thanks

It may take you a lot of experimentation to figure out how to access the “local data area” if it’s possible at all. And requiring it to work through CL when you don’t already know generally how to do it, nor perhaps how to look up Qshell information, seems to indicate that it’s not urgent.

If an item is urgent, I would suggest asking how to fulfill a ‘business requirement’ rather than how to perform a technical action with potentially difficult constraints, especially when the constraints might be artificial. E.g., why is Qshell required? Why a data area? What if it could be done easier with RPG or REXX? Without knowing what the object (the business requirement) is, suggestions for better or easier approaches can’t be given. (Assuming that any exist!)

Tom

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following