mainframe - PL1 structure assignment with BY NAME option at runtime or compilation -


in pl1 possible assign structure option name. functionality used during runtime or during compile only?

the ibm documentation not helpful in case.

are talking by name in procedure assignment (better known reference) or by name in assignment ???.

from manual reference, presume talking by name assignment option in pl1 assignment variation on cobol move corresponding clause.

yes possible assign pl1 structure by name option. determined @ compiled time assigned what.

see by name example in pl1

this lists:

  declare      declare       declare   1 one,       1 two,        1 three,    2 part1,     2 part1,      2 part1,     3 red,       3 blue,       3 red,     3 orange,    3 green,      3 blue,    2 part2,      3 red,        3 brown,     3 yellow,   2 part2,      2 part2,     3 blue,      3 brown,      3 yellow,     3 green;     3 yellow;     3 green; 

assignment statements using name clause

 1 = two, name;  one.part1 = three.part1, name; 

1 first assignment statement same following:

  one.part1.red    = two.part1.red;   one.part2.yellow = two.part2.yellow; 

2 second assignment statement same following:

  one.part1.red = three.part1.red; 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -