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

How fill the filed value with fixed values(DFHMDF )


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aimprabhu

New User


Joined: 12 Aug 2008
Posts: 11
Location: chennai

PostPosted: Wed Nov 26, 2008 9:57 pm
Reply with quote

Hi ,
This is basic doubt in DFHMDF on CICS.

I want to fill the input variable with constant values.

E.g in Field att i wnat to give INITIAL="*" and length =25

i want the full length to be like this

****************************

Regards

Prabhu
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed Nov 26, 2008 10:23 pm
Reply with quote

Using
Code:
INITIAL='****************************'
shouldn't be much an issue, surely?
Back to top
View user's profile Send private message
aimprabhu

New User


Joined: 12 Aug 2008
Posts: 11
Location: chennai

PostPosted: Wed Nov 26, 2008 10:51 pm
Reply with quote

Hi robert,


I am doing the same.there is one more option that's what i am asking!!!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Wed Nov 26, 2008 11:43 pm
Reply with quote

Use the provided field. If you're asking if there's a different way to do the same, the only way I can think of would be (assuming a COBOL program) to name the field and
Code:
MOVE ALL '*' TO mapfieldnameO
You must specify the entire initial value desired on the DFHMDF INITIAL field.
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 Store the data for fixed length COBOL Programming 1
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
Search our Forums:

Back to Top