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

Need help to convert BLKSIZE to Tracks/CYL for SFTPing


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

New User


Joined: 20 Sep 2019
Posts: 2
Location: INDIA

PostPosted: Sat Nov 30, 2019 4:35 am
Reply with quote

Hi,

I am trying to use SFTPPROC to transfer files from X LPAR to Y LPAR, I need help in allocating the space parameter to transfer the file successfully.

My SFTP process fails due to space parameter-which i have not allocated it correctly.

FILE A : SPACE=(27930,(500,50),RLSE) (On X LPAR)
to be transferred to Y LAPR using SFTPPROC with below options

ls /+lrecl=133,recfm=fbm,space=cyl.500.50,unit=DDDD

Can someone help me to convert (27930,(500,50),RLSE) to tracks/cyl?

I need to be precise with the allocation of the files being transferred, Job failed in prod when i gave random allocations due to excessive or less space allocated.I have multiple files defined in BLKSIZE which need to be transferred via SFTP process,So i need to provide appropriate allocations.


Thanks in advance!!
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Sat Nov 30, 2019 5:48 am
Reply with quote

BLKSIZE=27930 equates to 2 records per track.

Emulated 3390 devices always have 15 emulated tracks per emulated cylinder.

Remember these lines.

so SPACE=(27930,500) becomes the equivalent of SPACE=(TRK,(13965,250))
or SPACE=(CYL,(931,17))

27930/2 = 13965 500/2 = 250 13965/15 = 931 250/15 =17
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Sun Dec 01, 2019 9:32 pm
Reply with quote

steve-myers wrote:
BLKSIZE=27930 equates to 2 records per track.

I believe that you meant 2 blocks per track.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Mon Dec 02, 2019 2:59 am
Reply with quote

2 physical records per track, which, of course, is the same as 2 blocks.
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 Need to convert date format DFSORT/ICETOOL 20
No new posts Keep leading zero(s) after convert fl... SYNCSORT 7
No new posts Convert single row multi cols to sing... DFSORT/ICETOOL 6
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Convert HEX to Numeric DB2 3
Search our Forums:

Back to Top