View previous topic :: View next topic
|
Author |
Message |
Hareesh Verma
New User
Joined: 08 Mar 2016 Posts: 8 Location: india
|
|
|
|
Hi,
I need a Jcl like ftping the TEXT file to Data set in mainframes. Any one have
code Please help me. It's Urgent.
Thanks,
Hareesh[/b] |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
remember ...
answering is done on voluntary basis, our own time and free of charge
( in stronger words... when and if we feel like )
if You have time constraints a forum is not the best place to ask. |
|
Back to top |
|
|
Willy Jensen
Active Member
Joined: 01 Sep 2015 Posts: 712 Location: Denmark
|
|
|
|
something like this:
Code: |
//FTP EXEC PGM=FTP,PARM='( EXIT'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
Use [URL] BBCode for External Links
enter-user-id-here
enter-password-here
ascii
put pc-file-name 'ZOS.DATASET.NAME'
close
quit
|
|
|
Back to top |
|
|
Hareesh Verma
New User
Joined: 08 Mar 2016 Posts: 8 Location: india
|
|
|
|
Thanks for your Reply Willy Jensen
But i'm getting MAXX CC =0 but data is not transferred. |
|
Back to top |
|
|
Hareesh Verma
New User
Joined: 08 Mar 2016 Posts: 8 Location: india
|
|
|
|
Attaching code |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Do not post attachments - a simple cut'n'paste using the code tags to present the data will suffice, is quicker and takes less storage.
Does you JCL and the associated control statements meet your site standards? |
|
Back to top |
|
|
Hareesh Verma
New User
Joined: 08 Mar 2016 Posts: 8 Location: india
|
|
|
|
Yes, here STAXMAST.txt is taking as storage data set not as text file. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the issue should be discussed with Your support.
anyway the topic is locked becauseit falls into the ...
[IN]famous category of topics not eligible for discussion
ibmmainframes.com/viewtopic.php?t=20820 |
|
Back to top |
|
|
|