That is unclear. If you are editing it then I presume you are using the ISPF editor and the first line of a job is the jobcard with the jobname in bytes 3 to (up to) 10. So why is this not sufficient? What are you trying to do that somehow involves rexx?
The problem I have is that people can explain things quickly but I can only comprehend slowly. Regards Nic
Have the script or macro parse it out of the first line; it will be from position 3 to just before the first space.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
because i execute a pgm rexx whne i a m editing this job.
You did not say much about the rexx, but it needs to use ISPF edit macro statements to work with the data shown by the editor.
As Akatsukami-san has said, your rexx exec needs to locate the job card line and then get the data line from the editor into a rexx variable so you can parse it.
ok, thank's for your help. I can see rexx dosen't communicate with TWS... We can't have the jobname, we can have the "Application name", or the owner.. for example..