Im traying to get out put of this below mention simple
logic code.But im geting out of different.(im trying with
my laptop trhough my company server.
DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400')
DCL &FIELD2 *CHAR 10
CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1)
Can you tell me the value of field2 after excuted of CHGVAR
command.
Answers were Sorted based on User's Feedback
what is file information data structure?
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....
How can we override a file during runtime in rpg?
How Commitment and Roll back control is used in as400, explain with real time senario ???
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
1.Suppose my file has 10 fields and I want to make the 2nd field Zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation? 2. Assume my file has 100 records and I want to see only first 10 records. Is this possible through LF? 3.I have 3 jobs A B and C. I want to submit B after successful completion of A and want to submit C after successful completion of B. Without using job scheduler or job queue, how can i do that through CL program? 4.What is difference between Bind by copy and bind by reference?
I know chain keyword retreive records randomly but how chain keyword exactly works internally????
what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
3 members in databasefile .how to read records from all the members??
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?