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

Equivalent attribute needed in COBOL for Telon(output-blank-


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

New User


Joined: 11 Dec 2006
Posts: 35
Location: India

PostPosted: Thu Apr 26, 2007 3:15 pm
Reply with quote

Hi,

We are converting an Telon-IMS DC application to COBOL - IMS DC application. The screens are coded using MFS. All the Telon Input and output merge routines are replaced with COBOL logic.

In the converted COBOL-IMS DC application the 'highlighted dashes' are not appearing on the screen

eg: Name: _______

In telon the attribut fields are as follows:

Code:
05 ATTRIBUTE-VARIABLES.
   10 CURSOR-ATTR          PIC X(2) VALUE '{A'.
   10 ERROR-ATTR           PIC X(2) VALUE '{I'.
   10 OK-ATTR              PIC X(2) VALUE ' A'.
   10 PROT-ATTR            PIC X(2) VALUE ' 1'.
   10 OUTPUT-ATTR          PIC X(2) VALUE ' 0'.
   10 OUTPUT-BLANK-ATTR    PIC X(2) VALUE ' 4'.
   10 BLANK-ATTR           PIC X(2) VALUE ' 4'.
   10 CURSOR-BLANK-ATTR    PIC X(2) VALUE '{E'.
   10 INPUT-BLANK-ATTR     PIC X(2) VALUE ' E'.
   10 OUTPUT-HIGH-ATTR     PIC X(2) VALUE ' 8'.
   10 INPUT-HIGH-ATTR      PIC X(2) VALUE ' I'.

What will be the equivalent attribute for OUTPUT-BLANK-ATTR in COBOL.

Please help if there is anyother approach.

Thanks in Advance
Back to top
View user's profile Send private message
Karthigaiselvan

New User


Joined: 11 Dec 2006
Posts: 35
Location: India

PostPosted: Thu Apr 26, 2007 3:35 pm
Reply with quote

Hi,

We are converting an Telon-IMS DC application to COBOL - IMS DC application. The screens are coded using MFS. All the Telon Input and output merge routines are replaced with COBOL logic.

In the converted COBOL-IMS DC application the 'highlighted dashes' are not appearing on the screen

eg: Name: _______

In telon the attribute fields are as follows:

Code:
05 ATTRIBUTE-VARIABLES.
10 CURSOR-ATTR PIC X(2) VALUE '{A'.
10 ERROR-ATTR PIC X(2) VALUE '{I'.
10 OK-ATTR PIC X(2) VALUE ' A'.
10 PROT-ATTR PIC X(2) VALUE ' 1'.
10 OUTPUT-ATTR PIC X(2) VALUE ' 0'.
10 OUTPUT-BLANK-ATTR PIC X(2) VALUE ' 4'.
10 BLANK-ATTR PIC X(2) VALUE ' 4'.
10 CURSOR-BLANK-ATTR PIC X(2) VALUE '{E'.
10 INPUT-BLANK-ATTR PIC X(2) VALUE ' E'.
10 OUTPUT-HIGH-ATTR PIC X(2) VALUE ' 8'.
10 INPUT-HIGH-ATTR PIC X(2) VALUE ' I'.

What will be the equivalent attribute for OUTPUT-BLANK-ATTR in COBOL.

Please help if there is any other approach.

Thanks in Advance
Back to top
View user's profile Send private message
ashwinreddy

Active User


Joined: 16 Sep 2004
Posts: 106
Location: Hyderabad

PostPosted: Fri Apr 27, 2007 2:58 pm
Reply with quote

Hi,

As i haven't worked much on the IMS DC, but worked on Telon extensively. I can explain you about the concept behind that attribute.

As OUTPUT-BLANK-ATTR is used to Protect with blanks.

I know this can be done in IMS DC while creating the MFS screen by giving in EATTR.

But your scenario is that the field is declared as Input-Output and if no data is entered it should be Protected and highlighted.

I can give you one suggestion if you have found out the equalent for PROT-ATTR then you can use it.

As both ( OUTPUT-BLANK-ATTR and PROT-ATTR) serve for same purpose.


Cheers
Ashwin
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top