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: 870
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: 1348
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: 870
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 How to convert RESP code 12 to text? CICS 9
No new posts COnvert a column with mix of hex ,cha... DB2 5
No new posts To convert numeric to Packed Decimal DFSORT/ICETOOL 9
No new posts how to convert Hex String t char hex PL/I & Assembler 6
This topic is locked: you cannot edit posts or make replies. DFSORT-How to convert ZD to ZS in DFSORT DFSORT/ICETOOL 2
Search our Forums:

Back to Top