i want to add different indicators to DSPATR keyword of every feild. but fields are more than indicators.if i provide same to all, all become on after doing on for particular field.Plz sort out this problem.
Software/Hardware used:
ASKED:
May 22, 2009 8:24 AM
UPDATED:
May 25, 2009 7:08 AM
Ok I explain….
My program is using two display files having 5 records format each.i have to display 130 fields with DSPATR . it means i have repeated same indicators to different record format.suppose i display ‘B’ window screen by selecting ‘YES’ on ‘A’ screen . both screen having same indicators . if i seton indicators of screen “B”, indicators of Scren ‘A’ too seton . on displaying both screen having reverse image attribute.
…………………this is the problem
Hi,
I see your dilemma. What you can do (an old S/36 trick) is to save the indicators to an array and reset them all between screens. Something along these lines (syntax may not be correct) :-
C EXFMT SCREENA
C MOVEA*IN SCRA_IN
C MOVEA*ALL’0′ *IN
etc….
C EXFMT SCREENB
C MOVEA*IN SCRB_IN
C MOVEA*ALL’0′ *IN
Regards,
Martin Gilbert.
Thanks Dear