[Migrated content. Thread originally posted on 29 August 2011]
HiNeed small help . I am trying to run cobol program which is writing some data in output file.
Cobol Program : SELECT FILENAME ASSIGN TO DDNAME
IN jcl
DDNAME DD DSN=TEST.JCL.OUT1
and the file TEST.JCL.OUT1 is also cataloged where it is mapped to c:\\myfile.dat.
When i submit this jcl it make a file with name DDNAME and the file name "TEST.JCL.OUT1" is empty.
Important points :
a) When i see spool TEST.JCL.OUT1 is getting mapped to c:\\myfile.dat.
b) I am not using any compiler directive that means it is using "MF" and so to supply the file ouput name i have given assign"external".
c) I can not use any other compiler directive as i am using ANY LENGTH COBOL VERB which is allowed only in "mf" directive.
any workarounds....
#EnterpriseDeveloper

