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

Copy data into notepad using JCL


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

New User


Joined: 08 Apr 2004
Posts: 25
Location: hyd

PostPosted: Wed May 12, 2004 2:30 pm
Reply with quote

Hi,
suppose i've a data set which contains some data. i want to copy the same data into notepad using jcl. is it possible. if possible pls send the answer.
Back to top
View user's profile Send private message
bluebird

Active User


Joined: 03 Feb 2004
Posts: 127

PostPosted: Wed May 12, 2004 4:05 pm
Reply with quote

if you want to download data from your dataset to your pc it may be easier to use ftp on your pc.
anyway you asked for some JCL, Here goes :

Code:
///ftptST JOB (CA1),'TMS UTILITY',MSGLEVEL=(1,1),REGION=0M,   
//             CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID               
//*                                                             
//FTP001   EXEC PGM=FTP,REGION=2M                               
//SYSPRINT DD   SYSOUT=*                                       
//OUTPUT   DD   SYSOUT=*                                       
//INPUT    DD   *                                               
NNN.NN.NNN.NN            should be your pc  IP address                 
XXXXX                        your TSO userid     
PSWD                         your TSO password                               
PWD                             An ftp command



instead of PWD try
put mvsfilename pcfilename.txt


thing is your pc IP address is certainly not referenced in your system.

the MVS file contains server definition accessible from mvs :
TCPIP.FTP.PWFILE
hope it helps
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 Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts Split a record with data in a differe... DFSORT/ICETOOL 8
No new posts How to copy a PDS to a PS and then co... JCL & VSAM 8
No new posts data moved using MVI on para-name. PL/I & Assembler 4
No new posts Setting CA7 user variable from data s... CA Products 7
Search our Forums:

Back to Top