A clamp adapted to fix a cord-shaped body to an attached member with a locking hole, comprising: a base member including a receiving portion adapted to be capable of abutting against at least one portion of an outer circumferential portion of the cord-shaped body, and a leg portion adapted to be engageable with the locking hole; and a clamping member supported in the base member to be capable of being displaced between a temporarily fastened position and a completely fastened position, and demarcating a housing space adapted to receive the cord-shaped body relative to the receiving portion, wherein the clamping member has an outer shape to reduce the housing space by displacing the clamping member from the temporarily fastened position to the completely fastened position, wherein a support hole is formed in the base member, wherein the clamping member extends from a base end portion to an insertion end portion, and is supported to be capable of being displaced between the temporarily fastened position in which at least the insertion end portion is inserted into the support hole and an insertion depth relative to the support hole is shallow, and the completely fastened position in which the insertion depth relative to the support hole is deep, and in a portion protruding from the support hole on a base end portion side, the housing space is demarcated with respect to the receiving portion, and the base end portion side protrudes to a receiving portion side further than an insertion end portion side, wherein the base member includes a groove portion having a bottom portion and wall portions (21, 22) respectively continuing on two sides of the bottom portion, and facing each other; the receiving portion is provided on the bottom portion; and the support hole is formed in one of the two wall portions (21, 22) to face the other of the two wall portions (21, 22), characterized in that an insertion hole, which is a through-hole, is formed in the other of the two wall portions (21, 22) to face the support hole, and the clamping member is inserted into the insertion hole and the support hole, wherein the clamping member changes the widths of the base end portion and the insertion end portion in the axis line direction, by displacing the clamping member to the base member, the shortest distance between the clamping member and the bottom portion as a receiving portion shortens, and the housing space is reduced, thereby, the cord-shaped body is clamped more solidly between the clamping member and the bottom portion, and the relative position of the clamp and the cable is fixed. a base member including a receiving portion adapted to be capable of abutting against at least one portion of an outer circumferential portion of the cord-shaped body, and a leg portion adapted to be engageable with the locking hole; and a clamping member supported in the base member to be capable of being displaced between a temporarily fastened position and a completely fastened position, and demarcating a housing space adapted to receive the cord-shaped body relative to the receiving portion, wherein the clamping member has an outer shape to reduce the housing space by displacing the clamping member from the temporarily fastened position to the completely fastened position, wherein a support hole is formed in the base member, wherein the clamping member extends from a base end portion to an insertion end portion, and is supported to be capable of being displaced between the temporarily fastened position in which at least the insertion end portion is inserted into the support hole and an insertion depth relative to the support hole is shallow, and the completely fastened position in which the insertion depth relative to the support hole is deep, and in a portion protruding from the support hole on a base end portion side, the housing space is demarcated with respect to the receiving portion, and the base end portion side protrudes to a receiving portion side further than an insertion end portion side, wherein the base member includes a groove portion having a bottom portion and wall portions (21, 22) respectively continuing on two sides of the bottom portion, and facing each other; the receiving portion is provided on the bottom portion; and the support hole is formed in one of the two wall portions (21, 22) to face the other of the two wall portions (21, 22), characterized in that an insertion hole, which is a through-hole, is formed in the other of the two wall portions (21, 22) to face the support hole, and the clamping member is inserted into the insertion hole and the support hole, wherein the clamping member changes the widths of the base end portion and the insertion end portion in the axis line direction, by displacing the clamping member to the base member, the shortest distance between the clamping member and the bottom portion as a receiving portion shortens, and the housing space is reduced, thereby, the cord-shaped body is clamped more solidly between the clamping member and the bottom portion, and the relative position of the clamp and the cable is fixed.