How can u create a temporary file in CLP @ how to access
that temporary file in RPG program?
Answer Posted / syam
It means a Data Area.
1. Create a Data Area = CRTDTAARA
2. Retreive a Data Area = RTVDTAARA (Read)
3. Change Data Area = CHGDTAARA (Write)
This all CL command and It can use in RPG program to Read
Data Area.
Is This Answer Correct ? | 1 Yes | 14 No |
Post New Answer View All Answers
how to write *pssr ?
explain the purpose of keep and assume keywords?
How to reverse a string using RPG?
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
What is the Difference between command attention key and command function key ?
what are the limitations of cl (compare to rpg) ?
how many files, printer files you can describe in a rpg?
what are the different types of variables available in cl?
define data structure?
how do you use commitment control in rpg program ?
What is the difference between crtdupobj and copyf?
how can you detect overflow for a print program that prints multiple lines per cycle?
what is a spool file?
what are all the contents of subfile?
what are the two record formats a subfile contain ?