Talk:Concatenation
"Concate" & "nate" = "Concatenate"
Is this a kind of joke? The etymology is surely from Latin catena, a chain.
S.
Contents |
[edit] Hi
HI :) —Preceding unsigned commentSDF added by 212.219.76.100 (talk) 10:22, 14 January 2008 (UTC)
According to Merriam-Webster, concatenate comes from the Latin concatenare (to link together), which comes from the Latin com- + catena. Nschoem 01:45, 26 June 2008 (UTC) —Preceding unsigned comment added by Nschoem (talk • contribs)
It just means to match the correct sequence of one data string to the same sequence in another data string...from 2 to 30 data strings long...
Syntax concatenation!! Everybody knows that!! —Preceding unsigned comment added by 166.20.224.14 (talk) 21:03, 2 August 2010 (UTC)
[edit] In Mainframe
Mainframe concatenation refers to defining and usage of a sequence of libraries for the purposes of accessing objects in those libraries.
[edit] CONCAT
CONCAT is a native command of the z/OS operating system which is used to define ISPF/TSO library allocations.
CONCAT can add libraries to any standard ISPF DD including SYSPROC SYSEXEC ISPPLIB ISPSLIB and ISPMLIB
[edit] CONCATD
CONCATD is a utility written and maintained by IBM which extends the functionality provided by CONCAT.
The CONCATD command performs the following functions:
- Dynamically concatenates a data set or list of data sets before an existing or after an existing allocation. - Deconcatenates from an existing ddname allocation. - Creates an new allocation, if none exists. - Frees the whole file, if the caller deconcatenates all data sets of an existing allocation. - Lists the file allocation, if the file keyword and the list operand were used. - Shows the CONCATD version, if invoked without operands - Shows the CONCATD syntax, if invoked with an ? as operand - Allocates the file with the permanently allocated attribute, if the PERM keyword was entered, or if the file already exists with an permanently allocated attribute. - Displays all the members of PO concatenated data sets - Displays all the ENQueuers when an OLD allocation fails
Common usage of CONCATD is to concatenate personal libraries before libraries defined by the default system logon PROC. This allows a user to run CLIST and REXX programs without needing to specify the library where the code is.
This is the difference between issuing a command to execute code in a specific location:
TSO EXEC 'MY.USERID(MYREXX)'
versus issuing a command to execute a program for which may be in any library currently concatenated to the user's ISPF/TSO profile:
TSO MYREXX
In the second example, the system checks in each library concatenated to the user's ISPF/TSO profile (in this example the SYSEXEC libraries are checked).
[edit] More Information
For more information about the CONCAT command, the following command can be issued on any Z/OS mainframe:
TSO HELP CONCAT
[edit] CONCAT Examples
CONCATD F(SYSPROC) DA(MY.CLIST)
CLIST example:
ALLOC DD(MYCLIST) DA( +
'&SYSUID..CLIST' +
) SHR
CONCAT MYCLIST SYSPROC
REXX example:
/* REXX */
"CONCATD FILE(SYSPROC) DSN('MY.CLIST') BEFORE"