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

SDF generated code- problem with constant field


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 792
Location: Pennsylvania

PostPosted: Fri Mar 11, 2011 1:08 am
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
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

Moderator Emeritus


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

PostPosted: Sun Mar 13, 2011 11:48 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top