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

Answer Posted / vinay kumar gupta

you can not use CL program to ADD or UPDATE records in database files.
Use Printer or ICF files.
Use Program described files.
Use the concept of subfile (to display more than one record), but a single output message subfile is a special type ofsubfile that is supported well in CL.
Use subroutines.
You cannot declare more than one object (file) in a CL programme.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

550


what are the basic features of seu?

613


what is sflinz and sflrna?

1017


difference between sflrcdnbr and sflnxtchg?

705


What Does Lokup Does In Tables & Arrays?

740






what is the purpose of ovrdta (override data) keyword?

1074


What is file access opcodes?

760


WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)

1720


what is rpg ?

944


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.

1041


What is dynslt?

787


can a join logical file be updated?

589


what is the maximum number of subroutines allowed in rpg?

1064


What are the different opcodes used for file operation on a subfile in a rpg pgm?

1099


What is the use of jdftval in as400?

913