Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SDF generated code- problem with constant field

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Thu Mar 10, 2011 11:44 pm    Post subject: SDF generated code- problem with constant field
Reply with quote

Hi everyone,

Greeting!

I have created a layout with SDF-2 & generated a Map,
below are two constant fields generated by SDF-2


DFHMDF POS=(1,32),LENGTH=7,INITIAL='BRITISH', COLOR=BLUE

DFHMDF POS=(1,40),LENGTH=7,INITIAL='TELECOM'
,COLOR=BLUE

as you can see, SDF is generating two constant fields where-as I was expecting to get something like this-

DFHMDF POS=(1,40),LENGTH=15,INITIAL='BRITISH TELECOM'
,COLOR=BLUE

Please suggest if there is any option available with SDF to make it like this, I tried to change the Marks but SDF did not allow to change this

Appreciate your help & suggestions!

P.S.- I tried to look into SDF help for this option but did not find much help!
Back to top
View user's profile Send private message

daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 646
Location: Pennsylvania

PostPosted: Fri Mar 11, 2011 1:08 am    Post subject:
Reply with quote

How is SDF to know this is one field not two?

Try putting BRITISH-TELECOM on the screen and generate the map.

You can remove the dash from the generated map.
Back to top
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Sun Mar 13, 2011 11:15 am    Post subject:
Reply with quote

Thanks Dave!

It worked, my only worry now is that if later someone will try to import this map into SDF for modifications, SDF will not accept it with message "object destroyed"

daveporcelan wrote:
How is SDF to know this is one field not two?

Try putting BRITISH-TELECOM on the screen and generate the map.

You can remove the dash from the generated map.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sun Mar 13, 2011 11:48 am    Post subject:
Reply with quote

Hello,

You need to document this where someone performing maintenance will easily see it - preferable before "discovering" the the error . . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 1 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us