FLAM Issue Tracker - FL5
View Issue Details
0000654FL51.1 FLCLpublic2015-02-25 09:412015-04-15 15:06
Mykhailo Moldavskyy 
Falk Reichbott 
0000654: Generate at read reverse command for write to support edit of files
Extend each read object with a parameter to write the corresponding write object to a file, this file can be used as parameter for write operation.

Example for FLEDIT ISPF line command

flcl conv read.auto(file=test.gz retour=ret.cmd) write.rec(file=tmp.txt)


flcl conv read.rec(file=tmp.txt) write=ret.cmd
No tags attached.
Issue History
2015-02-25 09:41Mykhailo MoldavskyyNew Issue
2015-02-25 09:41Mykhailo MoldavskyyStatusnew => assigned
2015-02-25 09:41Mykhailo MoldavskyyAssigned To => Falk Reichbott
2015-02-25 10:08Mykhailo MoldavskyyDescription Updatedbug_revision_view_page.php?rev_id=212#r212
2015-02-25 10:08Mykhailo MoldavskyyDescription Updatedbug_revision_view_page.php?rev_id=213#r213
2015-03-22 15:41Falk ReichbottNote Added: 0000776
2015-03-22 15:41Falk ReichbottStatusassigned => resolved
2015-03-22 15:41Falk ReichbottFixed in Version => 5.1
2015-03-22 15:41Falk ReichbottResolutionopen => fixed
2015-04-15 15:06Falk ReichbottFixed in Version5.1 => 5.1.05

Falk Reichbott   
2015-03-22 15:41   
The CNV command of FLCL supports with version 5.1.5 a new parameter called RETOUR. This parameter is of type string and can contain a output file name. If this parameter provided the FLUC writes a XCNV command file, which correspond to the reverse operation of the CONV command.

For example:
flcl conv read.file=test.dat write.record(file=test.rec) retour=rtr.txt
flcl xcnv=rtr.txt

The second XCNC call of FLCL reads test.rec and write it back to test.dat, with the same inverse conversion done by the CONV command.

This feature is used on ZOS for the new ISPF line command FLEDIT. This allows for example to edit gzip'ed XML-File in UTF-8 with the normal ISPF-Editor.