while creating an object for a logical file we will use in CL/400
CRTLF FILE(library/logical-file-member) SRCFILE(SARKNS/FIVE)
But I need to give the logical-file-member name as a field like this
Dcl var(&var1) type(*char) len(10)
chgvar var(&var1) value('logical-file-member')
CRTLF FILE(SARKNS/&var1) SRCFILE(SARKNS/FIVE)
In this case this logical file is not created its giving cpf7302 object
Can any one help me in this regards.
Thanks in Advance.