Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Copy data into notepad using JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Copy data into notepad using JCL
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Fetching data from JHS as per the cur... arunsoods All Other Mainframe Topics 4 Wed Nov 22, 2017 1:54 pm
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Updating data from one file to other!!! Vignesh Sid SYNCSORT 1 Mon Nov 06, 2017 2:42 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us