Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do unix file lenghts work? Post 302694093 by Grueben on Thursday 30th of August 2012 06:47:04 AM
Old 08-30-2012
How do unix file lenghts work?

Hello,

Can someone tell me how unix works out file lenghts please? If I'm ftp'ing a file from a mvs mainframe to a unix box will the file be replicated line by line? I'm looking at the file on the unix box and it's telling me the recl is almost 4000 but it's not that on the mvs side. Should a txt file on unix be a fixed length?

Any help appreciated as usual

Thanks

G
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Reboot the Unix work station

Hi I'd like to know if to reboot a work station I need the root permission. If not what is the procedure ( commands or steps ) to reboot a work station. Cheers Mohsen (5 Replies)
Discussion started by: mohsen
5 Replies

2. UNIX for Dummies Questions & Answers

old unix machine at work model # wy-50

I was a tec at AT&T for 36 years and now work at a Doctor's office. We have the old unix unit in our office and it seems my keeps going out. Since, this was my line of work I want to repair this unit so I will not have to walk to the other office. Here is all the info off the unit which is just... (1 Reply)
Discussion started by: marycarroll
1 Replies

3. Post Here to Contact Site Administrators and Moderators

no-reply@unix.com does not work

Hello I just want to say that the "no-reply@unix.com " does not work. emails never get threw. I have been trying to get a my password for the last two weeks. :( After trying for awhile i got. Thanks peterh (1 Reply)
Discussion started by: Peterh
1 Replies

4. Shell Programming and Scripting

Multiple excel work sheets through UNIX

Hi, There is this requirement to create multiple work sheets in an MS Excel file through UNIX. We normally can create one work sheet in unix by either tab or comma delimiting and appending .xls or .csv to the file name, but can we create multiple work sheets. Regards, Puspendu (1 Reply)
Discussion started by: puspendu
1 Replies

5. Shell Programming and Scripting

startup scripts, how do they work in UNIX?

I need to make a script to start the postfix service on a server when the machine starts up. I have a script written below, which I think will work, but I am confused on how the rc2.d & rc3.d etc directories actually work. If I enter the script below, and stick it in the rc3.d directory,... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

6. UNIX for Dummies Questions & Answers

Any Linux/Unix work with SATA yet?

i got my computer in 2k, built it myself. top of the line then and better than most still now. one problem however is i was never able to install unix because the old kernels were not compatible with SATA hard drives i dont have any IDE drives nor do i want any I want mine on SATA, but every... (5 Replies)
Discussion started by: GXDeMoNN
5 Replies

7. UNIX for Dummies Questions & Answers

Emergency work question for a Unix dummy

Im trying to awk two values from each a line (about 40000 lines in the file): e.g. gi|10580442|gb|AAG19320.1| inosine-5'-monophosphate dehydrogenase-like I want to get the value between the first set of pipes and then the value between square brackets separated by a tab, i.e. 10580442... (6 Replies)
Discussion started by: gorkin
6 Replies

8. Programming

Ensure C++ will work on a Unix system

For my one college course, my professor said that we have to ensure that the C++ code we send him will work on a Unix system. I in turn installed Cygwin on my Windows 7 machine, and have been using that to compile and check my code, but it sounds like Cygwin is still compiling the code for my... (2 Replies)
Discussion started by: davidp007
2 Replies

9. Shell Programming and Scripting

UNIX Shell script to work with .xml file

Hi Team, Could you please help me on below query: I want to retrieve XML elements from one .xml file. This .xml file has commented tags as well. so i am planning to write Unix command/script which 1.will chekc for this .xml file 2. it will ignore the commented XML lines. i.e. XML tags between... (3 Replies)
Discussion started by: waiting4u
3 Replies

10. Homework & Coursework Questions

UNIX script home work

plz can any one help to write the script of the output provided in the pdf. There are 2 tasks A and B. (5 Replies)
Discussion started by: mohdsadik90
5 Replies
IBM_HOSTS(5)							File Formats Manual						      IBM_HOSTS(5)

NAME
ibm_hosts - host database for x3270 and c3270 SYNOPSIS
/etc/ibm_hosts DESCRIPTION
The ibm_hosts file contains information regarding IBM hosts on the network. An IBM host is a host which can communicate with a 3270 termi- nal emulator such as x3270 or c3270. Each line defines a name in the following format (optional fields are shown in brackets): name type [opt:]...[luname@]hostname[:port] [actions] Items are separated by any number of blanks and/or TAB characters. A line beginning with # is taken as a comment (note that # anywhere else on a line does not indicate a comment). The name field is a mnemonic used to identify the host. The type field is a keyword that indicates the type of entry. The value primary means that the name will be included in host-selection menus that may be displayed by a 3270 emulator. The value alias means that the name will not be included in menus, but will still be accepted as valid input when a host name is required. The hostname field is the Internet hostname or dot-notation Internet address of the host. The hostname can include `s:' or `p:' prefixes, e.g., s:finicky (see the x3270(1) or c3270(1) man page sfor details). It can also include an LU name, separated by an `@' character, e.g., oddlu@bluehost. Finally, it can include a non-default port number, appended to the host- name with a colon `:' character, e.g., bluehost:97. (For compatability with earlier versions of x3270, the port can also be separated by a slash `/' character.) The optional actions field specifies actions to be taken once the connection is made and a data-entry field is defined. If the text looks like an action, e.g., PF(1), it is unmodified; otherwise it is taken as the parameter to the String() action. The actions are not intended for entering usernames and passwords; rather they provide an automated way of specifying a front-end menu option. EXAMPLE
Given the following ibm_hosts file: mvs primary mvs-host tso alias mvs-host mvs2 primary mvs-host:4012 vm primary vtam Tab() String(3) Enter() A 3270 emulator will display four names (mvs, mvs2, afhost and vm) on its hosts menu. The names mvs and tso will cause connections to the host mvs-host. The name mvs2 will also cause a connection to mvs-host, but to port 4012 rather than the emulator's default port (usually 23). The name vm will cause the 3270 emulator to connect to the host vtam (presumably some sort of host-selection front-end), enter the string `3' on the second data-entry field on the screen, and send the Enter AID sequence. FILES
/etc/ibm_hosts SEE ALSO
x3270(1), c3270(1) 25 August 2012 IBM_HOSTS(5)
All times are GMT -4. The time now is 02:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy