03-31-2008
Hello Jgt,
Thanks for your quick response.
The file was created in binary mode and ftp ed to our unix box.
The file is fixed width file and it has no negative numbers.
There are no data compressions as far as i know..
Pls give me little more details about hd command..that will be helpfull
-Mora
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
after converting my ebcidic file to ascii i get the following output
2097152+0 records in
1797345+1 records out
Why is there a difference in number of records.
Is the converson chopping off any records.
All i am doing is just a conversion using the following script
dd if=xaa cbs=152 ... (0 Replies)
Discussion started by: rintingtong
0 Replies
2. Shell Programming and Scripting
Hello,
I need a program for ascii to ebsdic conversion. If anybody can help, it'll be greatly appreciated.
Thanks. (1 Reply)
Discussion started by: er_ashu
1 Replies
3. Shell Programming and Scripting
I have a file say "codefile" here ,contains data like this
Hi! How are you?
I need to covert this data into stram of equivalant ASCII values
I wrote follwoing script.
#!/bin/bash
while read -n1 char
do
printf "%d" \'$char
done < codefile
this gives me output
... (4 Replies)
Discussion started by: sunilmenhdiratt
4 Replies
4. Shell Programming and Scripting
Hi,
Can anyone please help me ascci to decimal conversion in bash
I have a file which contains stream of numbers like this,these are ascci values
729711810132973278105991013268971213233
I want to covert it to its actual value like upper code's decimal is
"Have a Nice Day!"
... (15 Replies)
Discussion started by: sunilmenhdiratt
15 Replies
5. UNIX for Dummies Questions & Answers
when i try to convert a mainframe EBCDIC file to ASCII ,i dont see correct file this is the source file
... (3 Replies)
Discussion started by: venkatvelpula
3 Replies
6. Shell Programming and Scripting
Hi,
I have got a library file, created by compiling C code. The file information with "file" command, gives it a "application/x-archive" type file. I want to extract the release string of my software from this file, so that i can know which version of C files were used to create the lib.
Can... (3 Replies)
Discussion started by: atulmt
3 Replies
7. Shell Programming and Scripting
I Am trying to change the file encoding from ASCII to UTF-8 using below command
iconv -f ASCII -t UTF-8 <input_file> > <output_file>
But the output_file is not actually in UTF-8 format. If I use the file command to check the file encoding it still says ASCII.
While converting am not... (5 Replies)
Discussion started by: Sriranga
5 Replies
8. Shell Programming and Scripting
Hi All ,
I have a mainframe file which contains the data in EBCDIC format.I have downloaded this file from mainframe to windows in binary format(unreadable raw data).Now I want convert this file to ASCII format(readable format data) through Unix command.I have tried iconv but that is not working... (2 Replies)
Discussion started by: STCET22
2 Replies
9. UNIX for Advanced & Expert Users
Hi,
I have a input file which is EBCIDIC and it has packed decimals.
Can anyone help me to convert EBCIDIC file to ASCII(Need to convert even Packed decimal values also to normal format).
Thanks
swapna (12 Replies)
Discussion started by: swapna_1990
12 Replies
10. UNIX for Advanced & Expert Users
Hi,
We have a mainframe file which is in EBCDIC format.We dont have direct access to mainframe ,client has provided us the mainframe file.The mainframe file is containing pact data(COMP1 ,COMP2 etc) which are unreadble.Can anyone suggest me how to convert this kind of ebcdic file to ascii... (11 Replies)
Discussion started by: swapna_1990
11 Replies
LEARN ABOUT OSX
glscissor
GLSCISSOR(3G) GLSCISSOR(3G)
NAME
glScissor - define the scissor box
C SPECIFICATION
void glScissor( GLint x,
GLint y,
GLsizei width,
GLsizei height )
PARAMETERS
x, y Specify the lower left corner of the scissor box. Initially (0, 0).
width, height
Specify the width and height of the scissor box. When a GL context is first attached to a window, width and height are set to the
dimensions of that window.
DESCRIPTION
glScissor defines a rectangle, called the scissor box, in window coordinates. The first two arguments, x and y, specify the lower left
corner of the box. width and height specify the width and height of the box.
To enable and disable the scissor test, call glEnable and glDisable with argument GL_SCISSOR_TEST. The test is initially disabled. While
the test is enabled, only pixels that lie within the scissor box can be modified by drawing commands. Window coordinates have integer val-
ues at the shared corners of frame buffer pixels. glScissor(0,0,1,1) allows modification of only the lower left pixel in the window, and
glScissor(0,0,0,0) doesn't allow modification of any pixels in the window.
When the scissor test is disabled, it is as though the scissor box includes the entire window.
ERRORS
GL_INVALID_VALUE is generated if either width or height is negative.
GL_INVALID_OPERATION is generated if glScissor is executed between the execution of glBegin and the corresponding execution of glEnd.
ASSOCIATED GETS
glGet with argument GL_SCISSOR_BOX
glIsEnabled with argument GL_SCISSOR_TEST
SEE ALSO
glEnable, glViewport
GLSCISSOR(3G)