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
 

 

How fill the filed value with fixed values(DFHMDF )

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How fill the filed value with fixed values(DFHMDF )
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: 7932
Location: Bellevue, IA

PostPosted: Wed Nov 26, 2008 10:23 pm    Post subject:
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    Post subject: Reply to: How fill the filed value with fixed values(DFHMDF
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: 7932
Location: Bellevue, IA

PostPosted: Wed Nov 26, 2008 11:43 pm    Post subject:
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    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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Overlaying one set of charater values... Kevin Lindsley SYNCSORT 7 Sat Nov 05, 2016 3:21 am
No new posts Low values Results from VARCHAR FORMAT balaji81_k DB2 10 Thu Oct 20, 2016 1:18 am
No new posts How can we have the varying lenth of ... Gunapala CN DFSORT/ICETOOL 6 Fri Oct 14, 2016 7:31 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm


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