creating a file using DDS
Posted: Thu Jul 18, 2024 1:44 pm
Hi,
1) Suppose if my field name and record format name is too long then how can i fit it into Functions under DDS for below case( I am referring this link :-When to specify REF and REFFLD keywords for DDS files - IBM Documentation)
5: FIELD6 has the same attributes as FLD6 in record format RECORDB in FILE4 in LIB1.
currently what happening is that just for example for my case number 5:-
FIELD6 R REFFLD(RECORDB/FLD6 LIB1/FILE4) (5) --> here due to combination of all this it's not fitting in single line and going to next line so i can i complete remaing file name in next line here ?
Any example to overcome this issue here please?
2) Suppose if i have to create a new file with below conditions for it's fields:-
field1 from file1 should be concatenated with field2 of this same file1 where FIELD2 NE BLANK ,else concatenate to FIELD3+FIELD4 of this same file1.
Any example to fulfil this condition for this case please?
Thanks.
1) Suppose if my field name and record format name is too long then how can i fit it into Functions under DDS for below case( I am referring this link :-When to specify REF and REFFLD keywords for DDS files - IBM Documentation)
5: FIELD6 has the same attributes as FLD6 in record format RECORDB in FILE4 in LIB1.
currently what happening is that just for example for my case number 5:-
FIELD6 R REFFLD(RECORDB/FLD6 LIB1/FILE4) (5) --> here due to combination of all this it's not fitting in single line and going to next line so i can i complete remaing file name in next line here ?
Any example to overcome this issue here please?
2) Suppose if i have to create a new file with below conditions for it's fields:-
field1 from file1 should be concatenated with field2 of this same file1 where FIELD2 NE BLANK ,else concatenate to FIELD3+FIELD4 of this same file1.
Any example to fulfil this condition for this case please?
Thanks.