obs.
CBS = bytes
Bytes converted at a time, that is, the size of the conversion buffer.
Skip = Blocks
Skip blocks from the beginning of the input file and then start copying
Seek = Blocks
The blocks are skipped from the beginning of the output file and then copied. (Usually only valid when the output file is a disk or tape)
Count = Blocks
Copy only blocks. The block size is equal to t
or tape ). Count = blocks only copies blocks. The block size is equal to the number of bytes specified by IBS. Conv = Conversion [, conversion...] use the specified parameter to convert the file. Conversion parameters: Convert ebcdic to ASCII. Ebcdic converts ASCII to ebcdic. IBM converts each line to a CBS record by converting ASCII to alternate
setting IBS and OBS ).
CBS = byte: bytes are converted once.
Count = blocks only copies the input blocks block.
Conv = ASCII converts the ebcdic code to the ascil code.
Conv = ebcdic converts an ascil code to an ebcdic code.
Conv = IBM converts an ascil code to an alternate ebcdic code.
Conv = block converts a variabl
This article explains how to create a file in Linux: dd. Use the DD Linux Command to create a certain size file.
Linux File Creation command: dd command
Copy the specified input file to the specified output file, and convert the format during the copy process. Syntax:
Code: [copy to clipboard] dd [Option 〕
Quote:
If = input file (or device name ).
Of = output file (or device name ).
IBS = Bytes: the number of bytes read from the buffer zone.
Skip = blocks skip the IBS * blocks block at the begin
= blocks only copies the input block. Conv = ASC Ⅱ converts the EBCDIC code to ASC Ⅱ. Conv = ebcdic converts ASC Ⅱ code to EBCDIC code. Conv = IBM converts ASC Ⅱ code to alternate EBCDIC code. Conv = block converts a variable bit to a fixed character. Conv = ublock converts a fixed bit to a variable bit. Conv = ucase
ibs. Conv = Conversion: convert the file with the specified parameter. Ascii: convert ebcdic to ascii Ebcdic: convert ascii to ebcdic Ibm: convert ascii to alternate ebcdic Block: converts each row to the length of cbs. Spaces are used to fill the remaining parts. Unblock:
begins.Note: Usually only works when the output file is a disk or tape, that is, when backing up to disk or tape.
Count=blocks: Copies only blocks blocks, the block size equals the number of bytes specified by IBS.
Conv=conversion: Transforms the file with the specified parameters.
ascii: Convert EBCDIC to ASCII ebcdic: Convert ASCII to EBCDIC
is followed by the following multiplicative Suffixes:c =1, w =2, B = 512, KB =1000, K =1024, MB =1000*1000, M =1024*1024, XM =mgb =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.E Ach CONV symbol may be:ascii from EBCDIC to ASCII EBCDIC from ASCII to EBCDIC IBM from ASCII to alternate EBCDIC block pad
number of bytes in the read/write buffer (equal to setting IBS and OBS).
CBS = byte convert bytes byte at a time.
Count=blocks only copies the input blocks blocks.
Conv = ASCII converts EBCDIC code to Ascil code.
Conv = EBCDIC converts ascil code to EBCDIC code.
CONV = IBM converts ascil code to alternate EBCD
.
Seek=blocks
Skips blocks blocks from the start of the output file before copying. (usually only works if the output file is disk or tape.)
Count=blocks
Copies only blocks blocks, and the block size equals the number of bytes specified by IBS.
Conv=conversion[,conversion ...]
Converts a file with the specified parameters.
Conversion parameters:
ASCII conversion EBCDIC to ASCII.
EBCDIC converts ASC
options can is specified in decimal, hexadecimal orOctal notation. THUS-C8,-C 8,-C 010 and-cols 8 is all equivalent.-B | -bitsSwitch to bits (binary digits) dump, rather than hexdump. This option writes octets as eight digits "1" s and "0" s instead of a nor‐Mal hexadecimal dump. Each of the line are preceded by a line number in hexadecimal and followed by an ASCII (or EBCDIC) representation. thecommand Line Switches-r,-p,- I do not work with this m
(default:512) Of=file write to FILE instead of stdout
Write as per of the comma separated symbol list Seek=blocks Skip BLOCKS obs-sized BLOCKS at start of output skip=blocks skip Bloc KS ibs-sized blocks at start of input status=noxfer suppress transfer statistics blocks and BYTES May is followed by the following multiplicative Suffixes:c =1, W =2, b =512, KB =1000, K =1024, MB =1
000*1000, M =1024*1024, XM =m GB =1000*1000*1000, G =1024*1024*1024, and so on for T, P, E, Z, Y.
= count= copy files and convert and format the contents of the original file if from file input (read ) (/dev/zore/All-zero character device) of output (write) to file BS specifies block size count specifies number of blocks written Skip skips how many blocks of the input file seek skips the number of blocks before the output file Conv Convert file Transform parameters with specified parameters: ASCII: convert EBCDIC to ASCII
addition, Unicode 3.0 will be available in just a few months, and Java also needs to make some corresponding fine-tuning after the curtain. Such an action cannot affect most existing programs. In addition, IBM claims that sun has disrupted the ebcdic conversion code, which also needs to be improved (I personally think This is IBM's fault, if they standardized ebcdic and sorted out its files,
device name ).◆ Of = output file or device name ).◆ Ibs = bytes: the number of bytes read from the buffer zone.◆ Skip = blocks skip the ibs * blocks block at the beginning of the read buffer.◆ Obs = bytes: the number of bytes written to the buffer zone.◆ Bs = bytes: set the number of bytes in the read/write buffer at the same time to set ibs and obs ).◆ Cbs = byte: converts bytes at a time.◆ Count = blocks: only copy the input blocks block.◆ Conv = ASCII converts the
ebcdic to ASCII
Ebcdic: Convert ASCII to ebcdic
IBM: Convert ASCII to alternateebcdic
Block: converts each row to the length of CBS. spaces are used to fill the remaining parts.
Unblock: the length of each row is CBS, and the remaining part is filled with spaces.
Lcase: converts uppercase to lowercase.
Ucase: converts lowercase to uppercase.
Swab: swap each pair
In China, many customers exist VSAM or DB2 information is represented by Chinese characters. How should CICS write code when it needs to exchange these Chinese messages with the outside world with the HTTP protocol? This article is presented separately from CICS as an HTTP server and two aspects of the client.
First, explain a few important concepts:
Codepage (code page)-a character set (character set) is a numeric value for a different language. For example, 037 is IBM
, which is the specified destination fileOflag=flag[,flag] Use the FLAG parameter to specify the output modeSeek=blocks Skip BLOCKS output blocks from the beginning of the output file and start copying (be careful that IBS is not the same as OBS)Skip=blocks Skip BLOCKS input blocks from the beginning of the input file and start copying (be careful that IBS is not the same as OBS)The Status=which is used to control the output information of the DD program. Noxfer,none and progress, respectively,
) will tell you.
Another interesting set of changes revolves around character encoding. if you don't know anything about character encoding, I wocould stronugly recommend Joel Spolsky's the absolute minimum every software developer organization, positively must know about Unicode and character sets (no excuses !) Tim Bray's three-part series, on the goodness of Unicode, on character strings, and characters vs. bytes, and anything written by Martin d u rst.
Now then: r2125 warns against using
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.