IBM Support

Using the 'put' command in a mapping instruction (1257) *|* -CFCED2E8BD03753F8525791800476D34- *|*

Question & Answer


Question

Using the 'put' command in a mapping instruction (1257) *|* -CFCED2E8BD03753F8525791800476D34- *|*

Answer

Technote (troubleshooting)


Problem(Abstract)

Using the 'put' command in a mapping instruction (1257)

Symptom

Lftran is core dumping
In the mapping group that contains the put command there is an instruction that looks like this: map put s51 into put s50 into put s49 into put s48 into put s47 into put s46 into $in.


Cause

The lftran program cannot handle the recursive mapping instruction and is
failing

Resolving the problem

You need to have a new mapping instruction for each put statement and you need to map the put out to a system variable. The mapping instructions would look like the following (this is just an example): map put s51 to $temp1 map put $temp1 to $temp2 map put $temp2 to $temp3 map put $temp3 to $temp4 map put $temp4 to $in Each put statement needs to be its own mapping instruction. This will solve the problem.

Historical Number

PRI38900

Product Alias/Synonym

Fact


GENTRAN:Server UNIX
Put command
1257

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SS73G6","label":"Sterling Total Payments for Financial Services"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
12 October 2021

UID

ibm10768851