Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Need help to convert BLKSIZE to Tracks/CYL for SFTPing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Need help to convert BLKSIZE to Tracks/CYL for SFTPing
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: 772
Location: The Universe

PostPosted: Sat Nov 30, 2019 5:48 am    Post subject:
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: 1331
Location: Israel

PostPosted: Sun Dec 01, 2019 9:32 pm    Post subject:
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: 772
Location: The Universe

PostPosted: Mon Dec 02, 2019 2:59 am    Post subject:
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    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 Convert mainframe data to .csv format... karan_reddy DFSORT/ICETOOL 10 Sat Nov 02, 2019 2:09 am
No new posts Convert string to packed format ajaydwivedi4u COBOL Programming 6 Sat Sep 21, 2019 5:01 pm
No new posts Convert from 1/1/2019 to 01/01/2019 sudhakarraju DFSORT/ICETOOL 3 Fri Sep 20, 2019 1:16 am
No new posts Blksize question darioits JCL & VSAM 12 Tue Sep 10, 2019 8:32 pm
No new posts Convert Numeric to Packed decimal and... anand1204 DFSORT/ICETOOL 5 Thu Aug 08, 2019 3:53 am

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