WHAT IS NEED BY METION DATFMT AND TIMFMT IN H-SEPICITION IN
RPGLE?



WHAT IS NEED BY METION DATFMT AND TIMFMT IN H-SEPICITION IN RPGLE? ..

Answer / Deepak Malik

In an RPGLE (Report Program Generator Language) H-specification, DATFMT and TIMFMT are used to define the formats for data variables and timestamps, respectively. These specifications ensure that data is properly formatted when read or written by the program.
1. DATFMT: This specifies the format of numeric and character data variables. You can use predefined formats such as PIC X(20) to define variable lengths, or create custom formats using various format modifiers (e.g., Z, A, P, etc.).
2. TIMFMT: This specifies the format of timestamp variables. You can use predefined timestamps like S8TIME to represent date and time in an easy-to-read format, or create custom formats using various date and time modifiers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Databases AllOther Interview Questions

What is Object Oriented model?

1 Answers   Thomson Reuters,


give a simple example of physical and logical data independence

1 Answers  


Is hive a database?

1 Answers  


Can you create a database in word?

1 Answers  


How to fetch/retrieve the data from hieranchical database and put it into the relational database? for e.g I want to extract the data from IMS DB2 database which is a hierarchical db and load that data into the relational database which is a SQL server.Are there any tools available for directing extracting data from hierarchical db and loading into the relational database (SQL server)?

1 Answers  


Why merge statement is used inside the database?

1 Answers   ADITI,


What are the disadvantages of views in a database?

1 Answers  


plz suggest me the books for the preparation of NIC written exam.

4 Answers   NIC, Rolta,


Datatypes are unlimited,true or false?

2 Answers   Infosys,


How to do Data integrity testing? Who does this testing (Developer or tester)?

1 Answers  


How does rows store in Teradata

1 Answers  


what are wrappers and build ups and what it's use?

1 Answers   TCS,


Categories