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

Trying to chg a sequential file from RECFM=FB to RECFM=FBA


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

New User


Joined: 28 Sep 2005
Posts: 55
Location: USA

PostPosted: Fri Jun 25, 2010 5:34 am
Reply with quote

Hi all,

My customer is FTPing a file and doesn't know how to send it with his FTP pgm software with the carriage control set for RECFM=FBA. It is a report with lots of carriage control in the 1st byte.

I tried to use IEBGENER to create an empty file using
DCB=(RECFM=FBA,LRECL=133,BLKSIZE=27930). Then just use IEBCOPY to copy it in there. But it is not working.

Does anyone know a utility to change the RECFM of a dataset please??

Thanks so much,
Sharon
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jun 25, 2010 6:26 am
Reply with quote

Why not have the customer use FTP command
Code:
quote site recfm=fba
to simplify things?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Fri Jun 25, 2010 6:41 am
Reply with quote

Hi Sharon,

can you explain what is not working and show JCL used and output from non working job.


Gerry
Back to top
View user's profile Send private message
Sysaron

New User


Joined: 28 Sep 2005
Posts: 55
Location: USA

PostPosted: Mon Jun 28, 2010 9:00 pm
Reply with quote

Robert Sample wrote:
Why not have the customer use FTP command
Code:
quote site recfm=fba
to simplify things?


He is not using JCL to FTP it to the mainframe. It is some kind of FTP software that I am unfamiliar with.

I know ICETOOLS can do it. Can you show me please??
~Sharon
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jun 28, 2010 9:07 pm
Reply with quote

There is a very similar topic here.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jun 28, 2010 10:37 pm
Reply with quote

FTP does not require JCL. You can even type the quote site recfm=fba in a Windows DOS prompt FTP session and it will take the command. The quote site is standard FTP and should work no matter what platform, no matter what implementation of FTP, as long as it supports the standard FTP commands.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Mon Jun 28, 2010 10:54 pm
Reply with quote

Why do you want it in FBA instead of FB?
Back to top
View user's profile Send private message
Sysaron

New User


Joined: 28 Sep 2005
Posts: 55
Location: USA

PostPosted: Mon Jun 28, 2010 11:16 pm
Reply with quote

superk wrote:
There is a very similar topic here.


THANK you Kevin!! Thanks a hundred times!! That is exactly what I was hoping someone would sometime Finally post for me. Really appreciate it.

~Sharon
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jun 28, 2010 11:28 pm
Reply with quote

Sysaron wrote:
That is exactly what I was hoping someone would sometime Finally post for me. Really appreciate it.


sure beats looking yourself, doesn't it?

funny, subject is 'Convert FB file to FBA'.
I am sure few if any would think of using that as search key.
Back to top
View user's profile Send private message
Sysaron

New User


Joined: 28 Sep 2005
Posts: 55
Location: USA

PostPosted: Tue Jun 29, 2010 9:47 pm
Reply with quote

More sarcasm please... I just cant wait any longer DinoSOUR!
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Jun 29, 2010 9:51 pm
Reply with quote

well, accept it as contempt.

would you like more of that?
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 and retrive records f... DFSORT/ICETOOL 2
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top