IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Write the result of a command to dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
darwin

New User


Joined: 17 Apr 2007
Posts: 7
Location: Hungary

PostPosted: Sat Jul 07, 2007 11:24 pm
Reply with quote

Hello

I need a JCL to issue some commands (see below), and write the resoults to a dataset.
Could somebody help me?
some of commands:
f ftp,d qh
f ftp,d all
f hsm,q ac w
f hsm,q setsys
d smf
etc, etc.

Many thanks.
Arnold
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Jul 07, 2007 11:29 pm
Reply with quote

With the HSM commands specified you have no hope. The internal code of HSM will route the output to the terminal and nowhere else.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Jul 08, 2007 7:38 am
Reply with quote

Hello,

Might these be issued from a batch tso session?

It may be that the results will be different systems and not everyone may have permission to execute the commands.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
Search our Forums:

Back to Top