Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 684
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 sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us