The MASM Forum

Projects => Rarely Used Projects => GoAsm => Topic started by: shankle on December 12, 2012, 01:41:23 PM

Title: JCL problem
Post by: shankle on December 12, 2012, 01:41:23 PM
This disk layout is made by HP and windows 7 pro 64-bit.
   OS                (C)
   recoverable disk  (G)
   recoverable disk  (H)
   recoverable disk  (I)
   my partition      (J)         
   GoAsm             (K)
   recoverable disk  (L)

Codejps is a folder in GoAsm (k)
Codejps contains all GoAsm programs and the
(.H) files.
Crimson editor and GoBug are in the (K) folder.

This is a sample of my (.bat) file.
Set INCLUDE=g:\codejps
Set PATH=g:\codejps
GoAsm /x64/b/c/l blahblah.asm
GoLink /unused blahblah.obj

If I run this batch file as is, it works. WHY???
If I change the two SET instructions to (K)
the GoAsm compile fails. WHY???
To my way of thinikng the Include/path should be K.
Maybe HP and Windows 7 are playing with the file assignments.

Thanks for your help.
Title: Re: JCL problem
Post by: CommonTater on December 13, 2012, 03:38:08 AM
Quote from: shankle on December 12, 2012, 01:41:23 PM
This disk layout is made by HP and windows 7 pro 64-bit.
   OS                (C)
   recoverable disk  (G)
   recoverable disk  (H)
   recoverable disk  (I)
   my partition      (J)         
   GoAsm             (K)
   recoverable disk  (L)

Codejps is a folder in GoAsm (k)
Codejps contains all GoAsm programs and the
(.H) files.
Crimson editor and GoBug are in the (K) folder.

This is a sample of my (.bat) file.
Set INCLUDE=g:\codejps
Set PATH=g:\codejps
GoAsm /x64/b/c/l blahblah.asm
GoLink /unused blahblah.obj

If I run this batch file as is, it works. WHY???
If I change the two SET instructions to (K)
the GoAsm compile fails. WHY???
To my way of thinikng the Include/path should be K.
Maybe HP and Windows 7 are playing with the file assignments.

Thanks for your help.

What do you get if you type DIR G:  ?

It sounds to me like something is changing your drive letters on the fly...   I'm betting those are "removable disk" not "recoverable"... when there's nothing in those slots all your drive letters shuffle forward...  If that's the case you need to go into  Control Panel -> Administrative tools -> Computer Management -> Disk Management ... reassign the drive letters so your removable disks are at the end of the list  (I usually stick mine down at Z X Y W etc... )  then set your hard drive partitions to be on a contiguous group of letters C through F...





Title: Re: JCL problem
Post by: dedndave on December 13, 2012, 06:28:52 AM
i doubt the drive letters are changing

what i might believe is that you do not have the include files in k:\codejps
maybe they are in k:\codejps\include ???
Title: Re: JCL problem
Post by: shankle on December 13, 2012, 01:41:42 PM
Thank you CommonTater. The problem seems to be solved.
Of course when I connect my external usb HD this Saturday
for a backup, who knows what will happen. Might not even
be able to see it in Windows Explorer.
Yes, they were "Removable" disks.