can we use cl programming to update or delete physical files
Answers were Sorted based on User's Feedback
Answer / uday bagadi
yes we can update data-base file through cl400 simply we write upddta command in cl pgm and give the data -base file name lib name and member name it directly give the update mode of this file.and same as we write deletf command in cl pgm
Is This Answer Correct ? | 3 Yes | 4 No |
Answer / manish verma
Updation of any file is not possible through CL but if you
want to delete a file u can definately do it by using the
command remove member RMVM
Is This Answer Correct ? | 5 Yes | 11 No |
1.I have a Batch job, Running for 4 hours, i want to reduce the executing time to 2 hours what should you do?
how do I do concatenation in rpg iv, like I do in cl?
Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On
What are the types of identifiers?
WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?
How can you determine the number of characters in a variable?
can anybody explain significance of *loval setll with example code????
how do I play {insert rpg system here}?
What is the difference between copybooks and subprocedures in as400?
If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?
1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?
what r drawbacks of OPM? Why do we go for ILE RPG?