In the paper, one boundary value problem of optimal control for discrete two-parameter systems with discrete time is investigated. Such problems are discrete analogues of optimal control problems described by integro-differential partial differential equations of the first order. The initial function is controllable and is defined as the solution of the Cauchy problem for nonlinear ordinary difference equation, the right part of which includes concentrated control. The quality functional presents the sum of two different terms and is a Boltz type functional for the optimal control problem under consideration. The cases of arbitrary, convex and open control area defining the corresponding class of admissible controls are studied. Imposing various natural smoothness conditions on the right-hand sides of the two-dimensional and one-dimensional difference equations under consideration, assuming the convexity of the analogue of the set of admissible velocities of the system under consideration, a special increment of the quality criterion is calculated using a modified functional increment method and, based on its non-negativity along the optimal control, an analogue of the discrete Pontryagin maximum principle is proved. Assuming the convexity of the control area, by linearizing the terms in the functional increment formula and introducing a special variation of the admissible control, an analogue of the linearized maximum condition is proved. In contrast to the continuous case, the linearized maximum principle is not a consequence of the discrete maximum principle and has an independent value as a necessary condition for optimality. In the case of open control area, by introducing a classical variation of the control, the first variation (in the classical sense) of the functional is calculated and established that in the case of open control area, the first variation of the quality criterion equals zero, with its help, an analogue of the Euler equation for the optimal control problem under consideration is obtained. The scheme used in the work also makes it possible to further investigate some cases of degeneration of the obtained necessary conditions of optimality of the first order and to deduce new, constructive necessary conditions of optimality of the second order, allowing to narrow down the set of permissible controls suspicious of optimality.