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


Please Help Members By Posting Answers For Below Questions

how to write *pssr ?

638


explain the purpose of keep and assume keywords?

1064


How to reverse a string using RPG?

690


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.

1040


What is the Difference between command attention key and command function key ?

788






what are the limitations of cl (compare to rpg) ?

1548


how many files, printer files you can describe in a rpg?

632


what are the different types of variables available in cl?

1007


define data structure?

1027


how do you use commitment control in rpg program ?

1278


What is the difference between crtdupobj and copyf?

679


how can you detect overflow for a print program that prints multiple lines per cycle?

962


what is a spool file?

673


what are all the contents of subfile?

989


what are the two record formats a subfile contain ?

1120