01-31-2005
..........
could be a difference between the filesystems. don't know which fs os390/vms/host use but there is also a small diff between solaris' ufs and windows ntfs.... they are using diff blocksizes.. so if you have a bs of 512byte and you want to save a 1700bytes file you need 4 blocks... well the file is still 1700bytes but you will need 2048bytes in the filesystem. so if there are more files with such a difference the disk usage grows up.......
gP
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I am trying to ftp a file :
-rw-rw-rw- 1 oraclepbdw dba filename.txt
from Machine A ( where umask is 022) to Machine B (umask 022)
but the file changes to
-rw-rw-r-- 1 ftpamle3 ftaml filename.txt
Dur some constraints the group of the users on either side... (3 Replies)
Discussion started by: gauravsachan
3 Replies
2. Shell Programming and Scripting
Hello,
A couple of times per week, i receive emails notifications when files are available for processing.
Currently i read these eamails with a java program and store the attachement on my C: drive and would now like to generate a PC script to send this file name up to UNIX-Solaris and... (3 Replies)
Discussion started by: bobk544
3 Replies
3. Shell Programming and Scripting
Hi All,
I have written a script that transfers(FTP) files from Unix system to MVS system.
Below is the code for it.
ftp -inv $HOST<<ftp_test
quote site LRECL=200
quote site BLKSIZE=28000
mput SOURCE DEST
ftp_test
Here I need the help, if the above code can get... (3 Replies)
Discussion started by: rinku11
3 Replies
4. UNIX for Advanced & Expert Users
We are transferring file from mainframes to unix, & in FTP process itself we would like to set access rights for
unix machine.
Has anyone used chmod command in association with site command in ftp? How it should be used?
Thanks in advance. (1 Reply)
Discussion started by: videsh77
1 Replies
5. Solaris
Dear All
I am trying to put a file from window system to solaris 10 box through ftp, but after connected to solaris 10 through window via ftp, I put a file( its a solaris package) through put command to solaris box. When I checked it on solaris box I get a file having 0 bytes. even I try to put... (3 Replies)
Discussion started by: amity
3 Replies
6. Emergency UNIX and Linux Support
Dear all,
I was given the ID_DSA.pub by an MVS user, which I placed in the appropriate user's authorized_keys file. When the user tris to SFTP from their side to the AIX box, the following error is got:
error: debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY ... (6 Replies)
Discussion started by: ggayathri
6 Replies
7. AIX
Hi,
I want to try to connect to a DB2 (MVS) database from an AIX, through my c++ custom program. Is anybody who knows how can I do this? Which libraries should I use? Should I have a DB2 connect installed on my AIX?
Thank you in advance. (3 Replies)
Discussion started by: develo
3 Replies
8. Shell Programming and Scripting
Hi,
I am trying to send a txt file via FTP to the Mainframe or MVS. the file gets sent to the MVS but the user name gets appended to the file name.
For eg if i am sending test.txt, in the mainframe it lands as username.test.txt.
I tried putting the filename inside single quotes but I get an... (3 Replies)
Discussion started by: naveensraj
3 Replies
9. UNIX for Advanced & Expert Users
Dear all,
I have been given the opportunity at the last minute to help on a project. There is a need to move some very large files from an MVS machine to an AIX one. The servers are remote with (I think) a 2Meg network pipe between them. The people on the project have been moving small... (1 Reply)
Discussion started by: rbatte1
1 Replies
10. Shell Programming and Scripting
Hi,
I have one job that runs daily and creates daily files. At the end I compare the today's file with previous day's file. And if today's file size is greater or equal to previous day's file, then it is ok, else I need to through error.
I have following piece of code:
typeset -i... (2 Replies)
Discussion started by: ppatra
2 Replies
LEARN ABOUT SUNOS
cpc_event_diff
cpc_event_diff(3CPC) cpc_event_diff(3CPC)
NAME
cpc_event_diff, cpc_event_accum - simple difference and accumulate operations
SYNOPSIS
cc [ flag... ] file... -lcpc [ library... ]
#include <libcpc.h>
void cpc_event_accum(cpc_event_t *accum, cpc_event_t *event);
void cpc_event_diff(cpc_event_t *diff, cpc_event_t *after, cpc_event_t *before);
The cpc_event_accum() and cpc_event_diff() functions perform common accumulate and difference operations on cpc_event(3CPC) data struc-
tures. Use of these functions increases program portability, since structure members are not referenced directly .
cpc_event_accum()
The cpc_event_accum() function adds the ce_pic fields of event into the corresponding fields of accum. The ce_hrt field of accum is set to
the later of the times in event and accum.
SPARC:
The function adds the contents of the ce_tick field of event into the corresponding field of accum.
:
The function adds the contents of the ce_tsc field of event into the corresponding field of accum.
cpc_event_diff()
The cpc_event_diff() function places the difference between the ce_pic fields of after and before and places them in the corresponding
field of diff. The ce_hrt field of diff is set to the ce_hrt field of after.
SPARC:
Additionally, the function computes the difference between the ce_tick fields of after and before, and places it in the corresponding field
of diff.
:
Additionally, the function computes the difference between the ce_tsc fields of after and before, and places it in the corresponding field
of diff.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Obsolete |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
cpc(3CPC), cpc_buf_add(3CPC), cpc_buf_sub(3CPC), cpc_event(3CPC), libcpc(3LIB), attributes(5)
The cpc_event_accum() and cpc_event_diff() functions exist for binary compatibility only. Source containing these functions will not com-
pile. These functions are obsolete and might be removed in a future release. Applications should use cpc_buf_add(3CPC) and
cpc_buf_sub(3CPC) instead.
28 Mar 2005 cpc_event_diff(3CPC)