IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Conditional EATTR in MFS ?


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Time2Live

New User


Joined: 27 Apr 2005
Posts: 43
Location: United States

PostPosted: Thu Jan 26, 2023 3:21 am
Reply with quote

Is there a way to do a conditional in MFS based on whether a different field is spaces or not spaces? I want my green "operator selection" field to be underlined only if there is something in the "Literal" field.
Code:

LITRAL   DFLD  POS=(07,26),LTH=40,ATTR=(PROT,MOD)
OPRSEL1  DFLD  POS=(07,23),LTH=01,EATTR=(GREEN)
OPRSEL2  DFLD  POS=(07,23),LTH=01,EATTR=(HUL,GREEN)

IF    LITRAL,=,' ',OPRSEL1
IF    LITRAL,¬,' ',OPRSEL2


Thank you for your advice icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Can EATTR be coded in an IMS COBOL pgm? IMS DB/DC 1
No new posts Conditional replace values in output ... DFSORT/ICETOOL 3
No new posts Conditional step execution based on P... JCL & VSAM 9
No new posts Summing records conditional statements. SYNCSORT 13
No new posts Conditional setting of return-code af... COBOL Programming 9
Search our Forums:

Back to Top