How to save a SELECT output in a directory

  • EDA001
  • Topic Author
  • Visitor
  • Visitor
10 years 5 months ago #16724 by EDA001
Dear All

For reporting purpose i would like to save the output put of a select command from the jshell into a directory called DCIM i have created under the bnk.run . i have tried to use SAVE-LIST command but the output will be automatically saved in &SAVEDLISTS& which is not what i want ed it to be.

My select statement LOOK like ... SELECT F.CATEGORY and i want to save the output in " /u01/prod/bnk/bnk.run/DCIM" .

Can anyone help ?

Thank you

Please Log in or Create an account to join the conversation.

  • jpb
  • jpb's Avatar
  • Offline
  • Moderator
  • Moderator
  • retired . . . ¯\_(ツ)_/¯
More
10 years 5 months ago #16725 by jpb
Maybe you can try to change the assignment of JBCLISTFILE before doing SAVE-LIST.
Otherwise just create a PAragraph that does the select -& save-list and then copy from &SAVEDLISTS& to your desired dir.

Please Log in or Create an account to join the conversation.

  • EDA001
  • Topic Author
  • Visitor
  • Visitor
10 years 5 months ago #16740 by EDA001
Replied by EDA001 on topic How to save a SELECT output in a directory
Thank you jpb i have used the second option to copy from &SAVEDLISTS& to mydesired dir

Please Log in or Create an account to join the conversation.

Time to create page: 0.028 seconds