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: 660
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 Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm


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